See #880: disabled eval source maps in dev to allow for keeping CSP on

This commit is contained in:
Eliot Berriot 2019-07-10 15:08:48 +02:00
parent c39cd010d5
commit 6290ded7fa
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ if (process.env.BUNDLE_ANALYZE === '1') {
}
module.exports = {
baseUrl: process.env.BASE_URL || '/front/',
productionSourceMap: false,
pages: {
embed: {
entry: 'src/embed.js',
@ -30,6 +31,7 @@ module.exports = {
},
configureWebpack: {
plugins: plugins,
devtool: false
},
devServer: {
disableHostCheck: true,