See #880: disabled eval source maps in dev to allow for keeping CSP on
This commit is contained in:
parent
c39cd010d5
commit
6290ded7fa
|
@ -11,6 +11,7 @@ if (process.env.BUNDLE_ANALYZE === '1') {
|
||||||
}
|
}
|
||||||
module.exports = {
|
module.exports = {
|
||||||
baseUrl: process.env.BASE_URL || '/front/',
|
baseUrl: process.env.BASE_URL || '/front/',
|
||||||
|
productionSourceMap: false,
|
||||||
pages: {
|
pages: {
|
||||||
embed: {
|
embed: {
|
||||||
entry: 'src/embed.js',
|
entry: 'src/embed.js',
|
||||||
|
@ -30,6 +31,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
plugins: plugins,
|
plugins: plugins,
|
||||||
|
devtool: false
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
disableHostCheck: true,
|
disableHostCheck: true,
|
||||||
|
|
Loading…
Reference in New Issue