mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
921a510d9f
We don't want inline source in prod. Optimising final bundle size a lot. For dev mode, cheap-module-eval is faster than inline-source.
10 lines
210 B
JavaScript
10 lines
210 B
JavaScript
var base = require('./webpack.base.config');
|
|
var config = base('development');
|
|
|
|
|
|
// development overrides go here
|
|
config.watch = true;
|
|
config.devtool = 'cheap-module-eval-source-map';
|
|
|
|
module.exports = config;
|