From 3dcc4481147d0277198f70e8ed39c3174ac212b3 Mon Sep 17 00:00:00 2001 From: fecaille Date: Thu, 31 Mar 2016 13:53:38 +0200 Subject: [PATCH] Optim: right vendors definition --- src/main/resources/templates/index.html | 2 +- webpack.config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 948d526..c21b778 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -3,7 +3,7 @@ Comments channel - + diff --git a/webpack.config.js b/webpack.config.js index 9978dec..650de07 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,7 +14,7 @@ var config = { resolve: { extensions: ['', '.js', '.jsx', '.css'] }, - devtool: 'sourcemaps', + devtool: 'source-map', cache: true, debug: true, output: { @@ -24,7 +24,7 @@ var config = { }, plugins: [ new ExtractTextPlugin("../css/[name].css"), - new CommonsChunkPlugin("vendors.bundle.js", ["app", "vendors"]), + new CommonsChunkPlugin("vendors", null, true), ], module: { loaders: [