Merge pull request #3411 from MartinFournier/hotfix/dist-build

Use ./dist instead of ./dist-dev in dev mode
This commit is contained in:
hydroflame 2022-04-12 17:19:13 -04:00 committed by GitHub
commit 6ce05c5c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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