spee.ch/webpack.dev.js

14 lines
358 B
JavaScript
Raw Normal View History

const packageBaseConfig = require('./webpack.package.common.js');
2018-03-29 22:39:04 +02:00
const clientBaseConfig = require('./webpack.client.common.js');
2018-03-16 21:03:54 +01:00
const merge = require('webpack-merge');
const devBuildConfig = {
2018-03-29 19:52:27 +02:00
watch : true,
2018-03-16 21:03:54 +01:00
devtool: 'inline-source-map',
};
module.exports = [
merge(packageBaseConfig, devBuildConfig),
2018-03-29 22:39:04 +02:00
merge(clientBaseConfig, devBuildConfig),
2018-03-16 21:03:54 +01:00
];