From a348a45e515d4c4725d1b334c1333de237d92357 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Mon, 8 May 2017 09:34:12 -0600 Subject: [PATCH] Fixed webpack output folders --- webpack/dev.config.js | 4 ++-- webpack/prod.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webpack/dev.config.js b/webpack/dev.config.js index 80512eb..ebc6c48 100644 --- a/webpack/dev.config.js +++ b/webpack/dev.config.js @@ -11,7 +11,7 @@ module.exports = { ], devtool: "inline-source-map", output: { - path: path.resolve(__dirname, "build"), + path: path.resolve(__dirname, "../build"), filename: "bundle.js" }, resolve: { @@ -37,4 +37,4 @@ module.exports = { devServer: { hot: true } -}; \ No newline at end of file +}; diff --git a/webpack/prod.config.js b/webpack/prod.config.js index a3e51ae..c55f97f 100644 --- a/webpack/prod.config.js +++ b/webpack/prod.config.js @@ -8,7 +8,7 @@ module.exports = { ], devtool: "none", output: { - path: path.resolve(__dirname, "dist"), + path: path.resolve(__dirname, "../dist"), filename: "bundle.js" }, resolve: { @@ -29,4 +29,4 @@ module.exports = { template: "./app/index.html" }) ] -}; \ No newline at end of file +};