Fixing production sourcemaps

This commit is contained in:
Jeff Avallone 2018-02-11 12:37:41 -05:00
parent 4600d1748a
commit c81943628c

View File

@ -6,7 +6,9 @@ const WorkboxPlugin = require('workbox-webpack-plugin');
module.exports = merge(common, { module.exports = merge(common, {
devtool: 'source-map', devtool: 'source-map',
plugins: [ plugins: [
new UglifyJSPlugin(), new UglifyJSPlugin({
sourceMap: true
}),
new WorkboxPlugin({ new WorkboxPlugin({
clientsClaim: true, clientsClaim: true,
skipWaiting: true skipWaiting: true