Skip to content

Commit bb6f1fe

Browse files
authored
fix: dynamic import (#213)
1 parent 7b5c7a1 commit bb6f1fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/output/moduleCompiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ function processModule(store: Store, src: string, filename: string) {
295295
s.overwrite(
296296
arg.start!,
297297
arg.end!,
298-
JSON.stringify(arg.value.replace(/^\.\/+/, '')),
298+
JSON.stringify(arg.value.replace(/^\.\/+/, 'src/')),
299299
)
300300
}
301301
}

0 commit comments

Comments
 (0)