📈 ajoute les sourcesmap en prod

pull/314/head
Johan Girod 2018-08-28 11:53:07 +02:00
parent 504e0d7497
commit 900c4b9224
1 changed files with 1 additions and 1 deletions

View File

@ -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/],