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
I tested the code in a minimal environment using vite and get the following error.
X [ERROR] Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)
We have prepared the code for testing in the following repository
This problem does not occur with min-node, but can be reproduced with min-vite. https://github.com/rinjugatla/denokv-for-issue
The text was updated successfully, but these errors were encountered:
rinjugatla
changed the title
Top-level await is not available in the configured target environment
Issues Top-level await is not available in the configured target environment
Dec 20, 2023
I tested the code in a minimal environment using vite and get the following error.
We have prepared the code for testing in the following repository
This problem does not occur with min-node, but can be reproduced with min-vite.
https://github.com/rinjugatla/denokv-for-issue
This problem could also be solved by installing the following plugin.
https://github.com/Menci/vite-plugin-top-level-await
The text was updated successfully, but these errors were encountered: