Npm build script now runs with production webpack configuration.

This commit is contained in:
Harrison Deng 2022-01-27 00:55:32 -06:00
parent 07c41be42d
commit 3951fb26da
2 changed files with 8 additions and 8 deletions

View File

@ -2471,9 +2471,9 @@
"integrity": "sha1-IsxKNKCrxDlQ9CxkEQJKP2NmtFo=" "integrity": "sha1-IsxKNKCrxDlQ9CxkEQJKP2NmtFo="
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001245", "version": "1.0.30001299",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001245.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001299.tgz",
"integrity": "sha512-768fM9j1PKXpOCKws6eTo3RHmvTUsG9UrpT4WoREFeZgJBTi4/X9g565azS/rVUGtqb8nt7FjLeF5u4kukERnA==", "integrity": "sha512-iujN4+x7QzqA2NCSrS5VUy+4gLmRd4xv6vbBBsmfVqTx8bLAD8097euLqQgKxSVLvxjSDcvF1T/i9ocgnUFexw==",
"dev": true, "dev": true,
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -7156,9 +7156,9 @@
"integrity": "sha1-IsxKNKCrxDlQ9CxkEQJKP2NmtFo=" "integrity": "sha1-IsxKNKCrxDlQ9CxkEQJKP2NmtFo="
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001245", "version": "1.0.30001299",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001245.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001299.tgz",
"integrity": "sha512-768fM9j1PKXpOCKws6eTo3RHmvTUsG9UrpT4WoREFeZgJBTi4/X9g565azS/rVUGtqb8nt7FjLeF5u4kukERnA==", "integrity": "sha512-iujN4+x7QzqA2NCSrS5VUy+4gLmRd4xv6vbBBsmfVqTx8bLAD8097euLqQgKxSVLvxjSDcvF1T/i9ocgnUFexw==",
"dev": true "dev": true
}, },
"chalk": { "chalk": {

View File

@ -2,7 +2,7 @@
"private": true, "private": true,
"main": "js/index.js", "main": "js/index.js",
"scripts": { "scripts": {
"build": "webpack --config webpack.common.js", "build": "webpack --config webpack.prod.js",
"build:dev": "webpack --config webpack.dev.js", "build:dev": "webpack --config webpack.dev.js",
"build:prod": "webpack --config webpack.prod.js", "build:prod": "webpack --config webpack.prod.js",
"postinstall": "python ../scripts/npm_post_install.py" "postinstall": "python ../scripts/npm_post_install.py"