-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Qv2 πQuasar v2 issuesQuasar v2 issuesarea/clibug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-vitekind/bug π
Description
What happened?
process.env.DEV returns a string value (e.g., "true" or "false") at runtime, but the documentation states it should be a boolean type.
What did you expect to happen?
process.env.DEV should be a boolean type (true/false) as documented, not a string. Alternatively, the documentation should be updated to reflect that it's actually a string type.
Reproduction URL
How to reproduce?
- Open the reproduction link
- Open the browser console or check the rendered output
- Check the type of
process.env.DEVusingtypeof process.env.DEV - Observe that it returns "string" instead of "boolean"
- Compare with the documentation which states it should be boolean
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Qv2 πQuasar v2 issuesQuasar v2 issuesarea/clibug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-vitekind/bug π