mon-entreprise/source/webpack.dev.js

15 lines
389 B
JavaScript
Raw Normal View History

2018-07-12 08:09:41 +00:00
const { map, concat } = require('ramda')
const webpack = require('webpack')
const common = require('./webpack.common.js')
2018-07-17 15:36:27 +00:00
module.exports = {
...common,
2018-03-01 19:30:57 +00:00
mode: 'development',
entry: map(concat(['webpack-hot-middleware/client']), common.entry),
plugins: [
...common.plugins,
new webpack.EnvironmentPlugin({ NODE_ENV: 'development' }),
new webpack.HotModuleReplacementPlugin()
]
}