mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-17 06:20:31 +00:00
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.
9 lines
210 B
JavaScript
9 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;
|