ampache_react/webpack.config.development.js

16 lines
479 B
JavaScript
Raw Normal View History

2016-07-07 23:23:18 +02:00
var webpack = require("webpack");
var config = require("./webpack.config.base.js");
config.devtool = "cheap-module-eval-source-map";
2016-07-26 15:59:18 +02:00
// necessary for hot reloading with IE:
config.entry.eventsourcePolyfill = 'eventsource-polyfill';
// listen to code updates emitted by hot middleware:
config.entry.webpackHotMiddlewareClient = 'webpack-hot-middleware/client';
config.plugins = config.plugins.concat([
new webpack.HotModuleReplacementPlugin()
]);
2016-07-07 23:23:18 +02:00
module.exports = config;