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, {
devtool: 'source-map',
plugins: [
new UglifyJSPlugin(),
new UglifyJSPlugin({
sourceMap: true
}),
new WorkboxPlugin({
clientsClaim: true,
skipWaiting: true