Skip to content

Commit

Permalink
馃: Optimise build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
haneenmahd committed Aug 19, 2022
1 parent 103ecec commit 315da53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"lint": "eslint --ext ts lib tests",
"test": "pnpm run lint && jest",
"build": "pnpm run postpublish && pnpm run type-check && pnpm run build:node && pnpm run build:web",
"build:web": "esbuild ./lib/index.ts --bundle --minify --sourcemap --target=chrome58,firefox57,safari11,edge16 --outfile=dist/main.web.js",
"build:node": "esbuild ./lib/index.ts --bundle --platform=node --outfile=./dist/main.node.js",
"build:web": "esbuild ./lib/index.ts --bundle --minify --sourcemap --target=chrome58,firefox57,safari11,edge16 --outfile=dist/index.web.js",
"build:node": "esbuild ./lib/index.ts --bundle --platform=node --outfile=./dist/index.js",
"postpublish": "rm -rf dist",
"pretest": "pnpm run format && pnpm run format",
"benchmark": "tsx benchmark/benchmark.ts"
Expand Down

0 comments on commit 315da53

Please sign in to comment.