Skip to content

Commit

Permalink
Merge pull request #41 from HaydenOrz/feat/build_cmd
Browse files Browse the repository at this point in the history
build: add --keep-names option to build command
  • Loading branch information
mike-lischke authored Feb 25, 2024
2 parents 147c9fb + eb1be4c commit 802f513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"tsc": "tsc --watch",
"build": "npm run generate-test-parsers && tsc && npm run build-cjs && npm run build-mjs",
"build-minified": "npm run generate-test-parsers && tsc && npm run build-cjs-minified && npm run build-mjs-minified",
"build-bundle": "esbuild ./src/index.js --main-fields=module,main --bundle --target=esnext",
"build-bundle": "esbuild ./src/index.js --main-fields=module,main --bundle --target=esnext --keep-names",
"build-mjs": "npm run build-bundle -- --outfile=dist/index.mjs --format=esm",
"build-mjs-minified": "npm run build-mjs -- --minify",
"build-cjs": "npm run build-bundle -- --outfile=dist/index.cjs --format=cjs",
Expand Down

0 comments on commit 802f513

Please sign in to comment.