Problems with .env and @quasar/app-webpack v4 #17744
Labels
bug/0-needs-info
Need more info to reproduce
flavour/quasar-cli-webpack
kind/bug 🐞
mode/pwa
Qv2 🔝
Quasar v2 issues
What happened?
I upgraded my project to the new @quasar/[email protected], it builds fine for spa and dev mode, however when I build for PWA with InjectManifest I got errors compiling.
On windows the build does not like environment variable like
ProgramFiles(x86)
orCommonProgramFiles(x86)
, and linux it does not like e.g.BASH_FUNC_which%%
.I solve this my manually remove those in quasar.conf.ts. In the past I use dotenv which did not cause this problem.
Below is the error log when not removing them:
What did you expect to happen?
It should build with environment names that can include invalid characters like (,),%....
Reproduction URL
not relevant
How to reproduce?
Build PWA mode with inject manifest on a system with environment names containing special chars (e.g. %)
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
PWA Mode
Platforms/Browsers
No response
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: