Files
sage/assets/build/webpack.config.watch.js
QWp6t 953a8ab5d6 Define WEBPACK_PUBLIC_PATH in webpack.config.js
Move WEBPACK_PUBLIC_PATH back to webpack.config.js

- Reverses a change made in 10899cf
- Closes #1718
2016-09-12 23:47:11 -07:00

22 lines
581 B
JavaScript

const webpack = require('webpack');
const BrowserSyncPlugin = require('./webpack.plugin.browsersync');
const config = require('./config');
module.exports = {
output: { pathinfo: true },
debug: true,
devtool: '#cheap-module-source-map',
plugins: [
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin(),
new BrowserSyncPlugin({
target: config.devUrl,
publicPath: config.publicPath,
proxyUrl: config.proxyUrl,
browserSyncOptions: { files: config.watch },
}),
],
};