This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/webpack.config.dev.js
2016-02-27 13:53:11 -08:00

19 lines
484 B
JavaScript

var path = require('path');
var webpack = require('webpack');
commonWebpackConfig = require('./webpack.config');
developmentWebpackConfig = Object.assign(commonWebpackConfig, {
cache: true,
devtool: 'eval',
entry: [
'webpack-hot-middleware/client',
'./src/index',
],
});
developmentWebpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
developmentWebpackConfig.plugins.push(new webpack.NoErrorsPlugin());
module.exports = developmentWebpackConfig;