diff --git a/themes/grav/gulpfile.js b/themes/grav/gulpfile.js index a9d90a8b..6e7d7d8b 100644 --- a/themes/grav/gulpfile.js +++ b/themes/grav/gulpfile.js @@ -28,12 +28,13 @@ var plugins = { }), prod: base.mergeDeep({ + devtool: 'source-map', plugins: [ new webpack.DefinePlugin({ 'process.env': { NODE_ENV: '"production"' } }), new webpack.optimize.UglifyJsPlugin({ - sourceMap: false, + sourceMap: true, compress: { warnings: false }