From 0b052843403953c99f92d96a84a73700087c60c9 Mon Sep 17 00:00:00 2001 From: orangemug Date: Mon, 10 Apr 2017 09:39:36 +0100 Subject: [PATCH] Fixed build path since move of webpack.config.* to ./config --- config/webpack.config.js | 2 +- config/webpack.production.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index 1e9da5a..aaeae96 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -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: { diff --git a/config/webpack.production.config.js b/config/webpack.production.config.js index 185fb9a..9f5a5e1 100644 --- a/config/webpack.production.config.js +++ b/config/webpack.production.config.js @@ -32,7 +32,7 @@ module.exports = { ] }, output: { - path: path.join(__dirname, 'public'), + path: path.join(__dirname, '..', 'public'), filename: '[name].[chunkhash].js', chunkFilename: '[chunkhash].js' },