Skip to content

Commit

Permalink
Fix esm package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Oct 18, 2024
1 parent d976136 commit 59f88c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function run(argv) {
}

if (bundle === 'stable') {
await exec(`echo { "type": "module" } > ${path.join(outDir, 'package.json')}`);
await exec(`echo "{ \\"type\\": \\"module\\" }" > ${path.join(outDir, 'package.json')}`);
}

if (verbose) {
Expand Down

0 comments on commit 59f88c1

Please sign in to comment.