mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 20:31:08 +00:00
Merge pull request #13690 from overleaf/ae-devtools
[webpack] Use devtool: eval-source-map when CSP is disabled GitOrigin-RevId: 1fed39986b3a0dc590869e15acd71afa6895a50b
This commit is contained in:
parent
7f41883367
commit
b881442e12
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ module.exports = merge(base, {
|
|||
mode: 'development',
|
||||
|
||||
// Enable accurate source maps for dev
|
||||
devtool: 'source-map',
|
||||
devtool:
|
||||
process.env.CSP_ENABLED === 'true' ? 'source-map' : 'eval-source-map',
|
||||
|
||||
// Load entrypoints without contenthash in filename
|
||||
output: {
|
||||
|
|
Loading…
Reference in a new issue