Add a production release build.
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
"description": "",
|
||||
"main": "index.jsx",
|
||||
"scripts": {
|
||||
"dev": "webpack server",
|
||||
"format": "prettier --write '**/*.{json,js,ts,tsx,css}'"
|
||||
"dev": "webpack server --config webpack.dev.js",
|
||||
"format": "prettier --write '**/*.{json,js,ts,tsx,css}'",
|
||||
"build": "webpack --config webpack.dev.js",
|
||||
"release": "webpack --config webpack.prd.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
@@ -30,6 +32,7 @@
|
||||
"typescript": "^5.3.3",
|
||||
"webpack": "^5.89.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^4.15.1"
|
||||
"webpack-dev-server": "^4.15.1",
|
||||
"webpack-merge": "^5.10.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user