Merge pull request #3523 from overleaf/ae-source-map

Use devtool: 'eval-source-map'

GitOrigin-RevId: c2b5a7b4052754f8654c46580890fbde87f443a5
This commit is contained in:
Alf Eaton 2021-01-06 09:31:57 +00:00 committed by Copybot
parent 90fbbb9198
commit 5bc4ce09a7

View file

@ -6,8 +6,8 @@ const base = require('./webpack.config')
module.exports = merge(base, {
mode: 'development',
// Enable source maps for dev (fast compilation, slow runtime)
devtool: 'cheap-module-eval-source-map',
// Enable accurate source maps for dev
devtool: 'eval-source-map',
plugins: [
// Extract CSS to a separate file (rather than inlining to a <style> tag)