We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c79ea commit 819be18Copy full SHA for 819be18
v-next/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/compiler.ts
@@ -125,7 +125,7 @@ export class SolcJsCompiler implements Compiler {
125
// If the script is a TypeScript file, we need to pass the --import tsx/esm
126
// which is available, as we are running the tests
127
const nodeOptions = scriptPath.endsWith(".ts")
128
- ? ["--import", "tsx/esm"]
+ ? ["--import", import.meta.resolve("tsx/esm")]
129
: [];
130
131
const args = [...nodeOptions];
0 commit comments