Use ./dist instead of ./dist-dev in dev mode

This commit is contained in:
Martin Fournier 2022-04-12 17:07:30 -04:00
parent 0ce2313ce8
commit 3fc1d089c1

@ -11,7 +11,7 @@ module.exports = (env, argv) => {
const runInContainer = (env || {}).runInContainer === true; const runInContainer = (env || {}).runInContainer === true;
const isDevelopment = argv.mode === "development"; const isDevelopment = argv.mode === "development";
const isFastRefresh = argv.fast === "true"; const isFastRefresh = argv.fast === "true";
const outputDirectory = isDevServer ? "dist-dev" : "dist"; const outputDirectory = "dist";
const entry = "./src/index.tsx"; const entry = "./src/index.tsx";
const statsConfig = { const statsConfig = {