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
After upgrading @quasar/app from v1 to v2, destructuring process.env doesn't work properly.
With IE11 support enabled I get error ReferenceError: process is not defined, without it variables are always undefined:
Expected behavior
In both situations (IE11 support mode on/off), destructuring works properly.
Platform (please complete the following information):
OS: macOS, Linux
Node: 10.20.1, 12.20.1
NPM: 6.14.10
Browsers: any
Additional context
Found the related bug report for webpack: webpack/webpack#5392, but it worked properly and still works in @quasar/app@1.
Also destructuring works properly if you extract exactly one property:
Describe the bug
After upgrading
@quasar/app
from v1 to v2, destructuring process.env doesn't work properly.With IE11 support enabled I get error
ReferenceError: process is not defined
, without it variables are alwaysundefined
:Codepen/jsFiddle/Codesandbox (required)
https://codesandbox.io/s/destructuring-processenv-s1tjx?file=/src/App.vue
To Reproduce
Steps to reproduce the behavior:
@quasar/cli
Expected behavior
In both situations (IE11 support mode on/off), destructuring works properly.
Platform (please complete the following information):
OS: macOS, Linux
Node: 10.20.1, 12.20.1
NPM: 6.14.10
Browsers: any
Additional context
Found the related bug report for webpack: webpack/webpack#5392, but it worked properly and still works in
@quasar/app@1
.Also destructuring works properly if you extract exactly one property:
Strange.
The text was updated successfully, but these errors were encountered: