From 900c4b9224d2756d9d59f0c7fdf0ec52216e086f Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 28 Aug 2018 11:53:07 +0200 Subject: [PATCH] :chart_with_upwards_trend: ajoute les sourcesmap en prod --- source/webpack.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/webpack.prod.js b/source/webpack.prod.js index 68aca4c5d..77adcf7ea 100644 --- a/source/webpack.prod.js +++ b/source/webpack.prod.js @@ -4,12 +4,12 @@ const WorkboxPlugin = require('workbox-webpack-plugin') module.exports = { ...common, mode: 'production', + devtool: 'source-map', plugins: [ ...common.plugins, new WorkboxPlugin.GenerateSW({ clientsClaim: true, skipWaiting: true, - // chunks: ['bundle'], swDest: 'sw.js', navigateFallback: '/', navigateFallbackBlacklist: [/.*\?site=.*$/, /^\/stats/],