From 881b19fb1807134b1c73ad779a122b30e1c37f41 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Wed, 27 Oct 2021 21:02:04 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Changing=20up=20the=20dist=20pat?= =?UTF-8?q?h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 4cbe1f2..4a5e203 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,7 +10,7 @@ module.exports = (env) => { return { entry: ["babel-polyfill", "./src/client/index.tsx"], output: { - path: path.join(__dirname, outputDirectory), + path: path.resolve(__dirname, outputDirectory), filename: "./js/[name].bundle.js", }, devtool: "source-map", @@ -72,6 +72,7 @@ module.exports = (env) => { port: 3050, open: true, hot: true, + contentBase: "./dist" proxy: { "/api/**": { target: "http://localhost:8050",