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
This commit is contained in:
QWp6t
2016-09-12 23:40:25 -07:00
parent f4a8ee5901
commit 953a8ab5d6
2 changed files with 5 additions and 3 deletions

View File

@@ -11,9 +11,6 @@ module.exports = {
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin(),
new webpack.DefinePlugin({
WEBPACK_PUBLIC_PATH: JSON.stringify(config.publicPath),
}),
new BrowserSyncPlugin({
target: config.devUrl,
publicPath: config.publicPath,