Skip to content

Commit 1e2b3fc

Browse files
fix: build issue
1 parent 36206b4 commit 1e2b3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fix-imports.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function processFiles(directory) {
2121
.split('\n')
2222
.map((line) => {
2323
if (line.trim().startsWith('import')) {
24-
return line.replace(/\.js"/g, '.mjs"');
24+
return line.replace(/\.js"/g, '.mjs"').replace(/\.js'/g, ".mjs'");
2525
}
2626
return line;
2727
})

0 commit comments

Comments
 (0)