Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 6f45d56

Browse files
Fix build config file.
1 parent 4ee31d9 commit 6f45d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"start": "node server.js",
55
"dev": "cross-env APPMODE=development webpack-dev-server --port 8008",
66
"dev-https": "cross-env APPMODE=development webpack-dev-server --https --port 8008",
7-
"build": "webpack --mode=production",
7+
"build": "webpack --mode=${APPMODE:-development} --env.config=${APPENV:-dev}",
88
"analyze": "webpack --mode=production --env.analyze=true",
99
"lint": "eslint src --ext js,jsx",
1010
"format": "prettier --write \"./**\"",

0 commit comments

Comments
 (0)