Skip to content

Commit

Permalink
fix: dynamic import (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
YouXam committed Mar 7, 2024
1 parent 7b5c7a1 commit bb6f1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output/moduleCompiler.ts
Expand Up @@ -295,7 +295,7 @@ function processModule(store: Store, src: string, filename: string) {
s.overwrite(
arg.start!,
arg.end!,
JSON.stringify(arg.value.replace(/^\.\/+/, '')),
JSON.stringify(arg.value.replace(/^\.\/+/, 'src/')),
)
}
}
Expand Down

0 comments on commit bb6f1fe

Please sign in to comment.