Fixed build path since move of webpack.config.* to ./config

This commit is contained in:
orangemug 2017-04-10 09:39:36 +01:00
parent 4517a8a36a
commit 0b05284340
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ module.exports = {
],
devtool: process.env.WEBPACK_DEVTOOL || 'cheap-module-source-map',
output: {
path: path.join(__dirname, 'public'),
path: path.join(__dirname, '..', 'public'),
filename: 'bundle.js'
},
resolve: {

View file

@ -32,7 +32,7 @@ module.exports = {
]
},
output: {
path: path.join(__dirname, 'public'),
path: path.join(__dirname, '..', 'public'),
filename: '[name].[chunkhash].js',
chunkFilename: '[chunkhash].js'
},