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 +};