Fixing production sourcemaps
This commit is contained in:
parent
4600d1748a
commit
c81943628c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user