Skip to content

Commit 7d5ca84

Browse files
committed
Remove cruft from webpack
1 parent 0335370 commit 7d5ca84

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

webpack.config.js

+1-32
Original file line numberDiff line numberDiff line change
@@ -113,36 +113,5 @@ module.exports = {
113113
maxChunks: 1, // Must be greater than or equal to one
114114
minChunkSize: 999999999
115115
})
116-
],
117-
/*
118-
optimization: {
119-
splitChunks: {
120-
chunks (chunk) {
121-
// exclude `my-excluded-chunk`
122-
return false;
123-
},
124-
minSize: 999999999,
125-
minChunks: 1,
126-
name: true,
127-
cacheGroups: {
128-
vendors: {
129-
test: /[\\/]node_modules[\\/]/,
130-
priority: -10
131-
},
132-
default: {
133-
minChunks: 2,
134-
priority: -20,
135-
reuseExistingChunk: true
136-
}
137-
}
138-
}
139-
},
140-
*/
141-
devServer: {
142-
contentBase: path.join(__dirname, 'dist'),
143-
compress: true,
144-
port: 8080,
145-
disableHostCheck: true,
146-
host: '0.0.0.0'
147-
}
116+
]
148117
};

0 commit comments

Comments
 (0)