Skip to content

Commit 9fa0cce

Browse files
authored
Merge pull request #147 from consideRatio/pr/prod-js
Build and package JS built with webpack --mode production
2 parents 86c71d5 + 2dde7df commit 9fa0cce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"scripts": {
88
"webpack": "webpack",
9-
"webpack:watch": "webpack --watch"
9+
"webpack:watch": "webpack --watch --mode development"
1010
},
1111
"devDependencies": {
1212
"babel-loader": "^9.1.3",

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
}),
1111
],
1212
devtool: "source-map",
13-
mode: "development",
13+
mode: "production",
1414
module: {
1515
rules: [
1616
{

0 commit comments

Comments
 (0)