checkout/config/webpack.config.dev.js
2017-05-29 14:15:03 +03:00

16 lines
447 B
JavaScript

const webpack = require('webpack');
const path = require('path');
const WriteFilePlugin = require('write-file-webpack-plugin');
const merge = require('webpack-merge');
const commonConfig = require('./webpack.config.common');
module.exports = merge(commonConfig, {
devtool: 'source-map',
plugins: [
new WriteFilePlugin()
],
devServer: {
contentBase: path.join(__dirname, '../dist'),
compress: true
}
});