Skip to content

Commit

Permalink
feat(dev-server) Add webpack-dev-server and hot reloading for develop…
Browse files Browse the repository at this point in the history
…ment (#97)
  • Loading branch information
galelis authored and swederik committed Jul 12, 2018
1 parent 82573d9 commit d82ecf0
Show file tree
Hide file tree
Showing 3 changed files with 8,313 additions and 5,817 deletions.
16 changes: 15 additions & 1 deletion config/webpack/webpack-dev.js
@@ -1 +1,15 @@
module.exports = require('./webpack-base');
const webpack = require('webpack');
const merge = require('./merge');
const baseConfig = require('./webpack-base');

const devConfig = {
devServer: {
hot: true,
publicPath: '/dist/'
},
plugins: [
new webpack.HotModuleReplacementPlugin({})
]
};

module.exports = merge(baseConfig, devConfig);

0 comments on commit d82ecf0

Please sign in to comment.