Skip to content

Commit

Permalink
feat(Config): Minify the code before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejsmolinski committed Mar 8, 2023
1 parent 1eaa14c commit ed26fca
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 @@ -18,7 +18,7 @@
"esbuild": "^0.17.11"
},
"scripts": {
"prepublish": "spago bundle-app --platform node --main Main --to index.js && printf '%s\n%s' \"#!/usr/bin/env node\" \"$(cat index.js)\" > index.js"
"prepublish": "spago bundle-app --minify --platform node --main Main --to index.js && printf '%s\n%s' \"#!/usr/bin/env node\" \"$(cat index.js)\" > index.js"
},
"bin": {
"orchy": "./index.js"
Expand Down

0 comments on commit ed26fca

Please sign in to comment.