Support ESM in the browser #5373
Unanswered
tylermmorton
asked this question in
Ideas
Replies: 0 comments 1 reply
-
This hasn't been supported yet by us, but I believe you can use import maps or a cdn that rewrites the imports (I believe snowpack does this) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug 🐞
What is the current behavior?
While attempting to use vue-instantsearch without a build step through native esmodules vue-instantsearch fails to load and an error is printed to the console:
Make a sandbox with the current behavior
https://jsfiddle.net/erdw124a/
What is the expected behavior?
vue-instantsearch is usable through esmodules and import-maps
Does this happen only in specific situations?
I believe this is only a problem when using native es modules. I have not tried vue-instantsearch with a build step yet. I'd really like to avoid this alternative if possible.
What is the proposed solution?
What is the version you are using?
Beta Was this translation helpful? Give feedback.
All reactions