mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 17:45:18 +02:00
See #880: disabled eval source maps in dev to allow for keeping CSP on
This commit is contained in:
parent
c39cd010d5
commit
6290ded7fa
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue