|
@ -15,6 +15,8 @@ config.entry = [ |
|
|
// override django's STATIC_URL for webpack bundles
|
|
|
// override django's STATIC_URL for webpack bundles
|
|
|
config.output.publicPath = 'http://webpack.docker:3000/assets/bundles/' |
|
|
config.output.publicPath = 'http://webpack.docker:3000/assets/bundles/' |
|
|
|
|
|
|
|
|
|
|
|
config.devtool = 'eval-source-map'; |
|
|
|
|
|
|
|
|
// Add HotModuleReplacementPlugin and BundleTracker plugins
|
|
|
// Add HotModuleReplacementPlugin and BundleTracker plugins
|
|
|
config.plugins = config.plugins.concat([ |
|
|
config.plugins = config.plugins.concat([ |
|
|
new webpack.HotModuleReplacementPlugin(), |
|
|
new webpack.HotModuleReplacementPlugin(), |
|
|