From 7d5ca845013d4d7d0f884ce198b20de51037a742 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Mon, 5 Nov 2018 10:58:57 +1100 Subject: [PATCH] Remove cruft from webpack --- webpack.config.js | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 30f658c..6e7a6a1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -113,36 +113,5 @@ module.exports = { maxChunks: 1, // Must be greater than or equal to one minChunkSize: 999999999 }) - ], - /* - optimization: { - splitChunks: { - chunks (chunk) { - // exclude `my-excluded-chunk` - return false; - }, - minSize: 999999999, - minChunks: 1, - name: true, - cacheGroups: { - vendors: { - test: /[\\/]node_modules[\\/]/, - priority: -10 - }, - default: { - minChunks: 2, - priority: -20, - reuseExistingChunk: true - } - } - } - }, - */ - devServer: { - contentBase: path.join(__dirname, 'dist'), - compress: true, - port: 8080, - disableHostCheck: true, - host: '0.0.0.0' - } + ] };