You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to pass these values (or at least a boolean) from the command line into the browser. Both variants are "dev" so the modes system is a bit wrong tool for it. Would appreciate it if the above config is expected to work - at some point. If not, there could be a mention in the source code about it.
Placing env. values as an .env.$mode file does work. But it clutters the root level folder so I'd favour configuration files instead.
Describe the bug
The README says:
This line lead me to think that environment values can be set also in the configuration, but this did not work:
vite.emul.config.js:
I need to pass these values (or at least a boolean) from the command line into the browser. Both variants are "dev" so the modes system is a bit wrong tool for it. Would appreciate it if the above config is expected to work - at some point. If not, there could be a mention in the source code about it.
Placing env. values as an
.env.$mode
file does work. But it clutters the root level folder so I'd favour configuration files instead.Reproduction
https://github.com/akauppi/GroundLevel-es6-firebase-web
The repo keeps moving though.
System Info
vite
version: 0.20.10vue
version (fromyarn.lock
orpackage-lock.json
)@vue/compiler-sfc
versionLogs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: