Skip to content

Commit

Permalink
extension fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Dec 18, 2024
1 parent 5b146f1 commit 3c376c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/babel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class Babel {
const result = await transform(finalCode, p);
if (!outputFile) {
const path = parse(file);
path.base += ".js";
path.base += ".mjs";
const js = format(path);
outputFile = js;
await writeFile(outputFile, result.code, "utf8");
Expand Down

0 comments on commit 3c376c7

Please sign in to comment.