Skip to content

Commit 9060df9

Browse files
committed
📝: demo06 README
1 parent ab86035 commit 9060df9

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

demo06/README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@ body {
2626
```js
2727
// webpack.config.js
2828
module.exports = {
29-
mode: 'production',
30-
entry: {
31-
index: './src/index.js',
32-
},
33-
output: {
34-
path: path.join(__dirname, 'dist'),
35-
filename: '[name]_[hash:8].js',
36-
},
29+
...
3730
module: {
3831
rules: [{
3932
test: /\.css$/,
@@ -50,13 +43,6 @@ module.exports = {
5043
],
5144
}],
5245
},
53-
optimization: {
54-
moduleIds: 'hashed',
55-
runtimeChunk: true,
56-
splitChunks: {
57-
chunks: 'all'
58-
},
59-
},
6046
plugins: [
6147
new MiniCssExtractPlugin({
6248
filename: '[name].[contenthash:8].css',

0 commit comments

Comments
 (0)