Skip to content

Commit d5cc018

Browse files
committed
fix: Update stats output
1 parent 6bb5400 commit d5cc018

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

webapp-1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"start": "webpack-dev-server",
8-
"build": "webpack --mode production --json > artifacts/webpack-stats.json",
8+
"build": "webpack --mode production --json artifacts/webpack-stats.json",
99
"test": "echo \"Error: no test specified\" && exit 0"
1010
},
1111
"keywords": [],

webapp-1/webpack.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ module.exports = (_, { mode }) => {
102102
devServer: {
103103
hot: true,
104104
inline: true
105+
},
106+
stats: {
107+
assets: true,
108+
entrypoints: true,
109+
chunks: true,
110+
modules: true
105111
}
106112
};
107113
};

0 commit comments

Comments
 (0)