Skip to content
New issue

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

Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1") #89

Closed
satish123satish123 opened this issue Jan 19, 2024 · 2 comments

Comments

@satish123satish123
Copy link

I am getting this error

Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")

node_modules/v-money3/dist/v-money3.mjs:107:22:
  107 │     w(this, "number", 0n);
@PWTK
Copy link

PWTK commented Jan 20, 2024

@satish123satish123 I faced the same problem, Please try this.

@jonathanpmartins
Copy link
Owner

jonathanpmartins commented Jan 28, 2024

The browser targets should have at minimum these entries:

("es2020", "safari14")

Change your browser targets from this:

("chrome87", "edge88", "es2019", "firefox78", "safari13.1")

To this:

("chrome87", "edge88", "es2020", "firefox78", "safari14")

It should work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants