Ver código fonte

Add env variable

Set NODE_ENV to production when publishing to ensure smaller packed size.
tags/0.3.0
TheoryOfNekomata 4 anos atrás
pai
commit
00e4217b21
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      package.json

+ 1
- 1
package.json Ver arquivo

@@ -39,7 +39,7 @@
"typescript": "^3.9.7"
},
"scripts": {
"prepublishOnly": "rm -rf dist/ && rollup -c",
"prepublishOnly": "NODE_ENV=production rm -rf dist/ && rollup -c",
"test": "jest",
"build": "rm -rf dist/ && rollup -c",
"generate": "plop",


Carregando…
Cancelar
Salvar