ソースを参照

Add env variable

Set NODE_ENV to production when publishing to ensure smaller packed size.
tags/0.3.0
コミット
00e4217b21
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      package.json

+ 1
- 1
package.json ファイルの表示

@@ -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",


読み込み中…
キャンセル
保存