Skip to content

Commit

Permalink
fix: uniform node target output bundled for browser
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed Nov 13, 2023
1 parent c1a5d5b commit b1f1478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"esbuild": "^0.18.4"
},
"scripts": {
"build": "pnpm exec esbuild --bundle src/index.ts --outfile=public/slangroom.js --external:fs --external:path --external:crypto"
"build": "pnpm exec esbuild --bundle src/index.ts --outfile=public/slangroom.js --target=es2016 --external:fs --external:path --external:crypto"
}
}

0 comments on commit b1f1478

Please sign in to comment.