ampache_react/webpack.config.development.js
Phyks (Lucas Verney) 2d9747482b Move to CSS modules
Also includes misc fixes

* Use CSS modules for all the CSS.
* Fix a bug in the filterbar which was not filtering anything.
* Fix a l10n issue in songs view.
* Update hook to clean build repo before running, preventing to push
dev built code.
* Update webpack build code.
2016-07-30 00:19:05 +02:00

16 lines
468 B
JavaScript

var webpack = require("webpack");
var config = require("./webpack.config.base.js");
config.devtool = "cheap-module-eval-source-map";
// necessary for hot reloading with IE:
config.entry.index.splice(1, 0, 'eventsource-polyfill');
// listen to code updates emitted by hot middleware:
config.entry.index.splice(2, 0, 'webpack-hot-middleware/client');
config.plugins = config.plugins.concat([
new webpack.HotModuleReplacementPlugin()
]);
module.exports = config;