We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello there,
I'm using dotenv in a react app to have some feature flags and it was working like a charm. However, some users complained because they use IE11.
The problem is:
const parsed = parse(fs.readFileSync(dotenvPath, { encoding }));
It uses object shorthand syntax and IE11 doesn't support it. Could you please change it to:
const parsed = parse(fs.readFileSync(dotenvPath, { encoding: encoding }));
Or if you want I'll do a pull request for it.
The text was updated successfully, but these errors were encountered:
Added a pull request introducing a rollup build process which solves this issue and allows to begin the use of newer ECMAScript syntax #282.
Sorry, something went wrong.
Just realized that dotenv is intended to only be used in a Node.js environment. Closing the issue but will leave the pull request open.
No branches or pull requests
Hello there,
I'm using dotenv in a react app to have some feature flags and it was working like a charm.
However, some users complained because they use IE11.
The problem is:
It uses object shorthand syntax and IE11 doesn't support it. Could you please change it to:
Or if you want I'll do a pull request for it.
The text was updated successfully, but these errors were encountered: