Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.mode and configEnv.mode variables will be inconsistent in some cases. #4441

Closed
6 tasks done
hyf0 opened this issue Jul 29, 2021 · 0 comments · Fixed by #4437
Closed
6 tasks done

config.mode and configEnv.mode variables will be inconsistent in some cases. #4441

hyf0 opened this issue Jul 29, 2021 · 0 comments · Fixed by #4437

Comments

@hyf0
Copy link
Contributor

hyf0 commented Jul 29, 2021

Describe the bug

config.mode and configEnv.mode variables will be inconsistent in some cases.

Reproduction

https://github.com/iheyunfei/vite-bug-report-4437/blob/master/vite.config.js

System Info

System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 300.63 MB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v14.15.0/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm
  Browsers:
    Chrome: 83.0.4103.106
    Edge: 90.0.818.66
    Safari: 13.1.3
  npmPackages:
    vite: ^2.4.4 => 2.4.4

Used Package Manager

yarn

Logs

No response

Validations

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant