Merge pull request #127 from orangemug/fix/build-path

Fixed build path since move of webpack.config.* to ./config
This commit is contained in:
Lukas Martinelli
2017-04-10 09:04:49 -05:00
committed by GitHub
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'
},