🔧 Changing up the dist path

This commit is contained in:
2021-10-27 21:02:04 -07:00
parent 56449b3ef6
commit 881b19fb18

View File

@@ -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",