0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/webpack.dev.config.js
Vincent Audebert 921a510d9f Fixing webpack config for production mode.
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.
2016-06-21 12:36:39 +01:00

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;