Skip to content

Commit

Permalink
build: enable minify before release build
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwa committed Jul 18, 2021
1 parent 44e8e21 commit ebf1b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/esw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"directory": "packages/esw"
},
"scripts": {
"build": "esbuild src/bin/*.ts src/index.ts --bundle --platform=node --outdir=dist --tsconfig=tsconfig.json --external:rxjs --external:esbuild --external:arg --external:chalk --external:type-fest --external:lodash",
"build": "esbuild src/bin/*.ts src/index.ts --bundle --minify --platform=node --outdir=dist --tsconfig=tsconfig.json --external:rxjs --external:esbuild --external:arg --external:chalk --external:type-fest --external:lodash",
"watch": "yarn build --watch",
"prepublishOnly": "yarn build",
"test": "echo \"Error: run tests from root\" && exit 1"
Expand Down

0 comments on commit ebf1b14

Please sign in to comment.