Repository navigation
Browser-ready ESM build for import maps #682
diogosilva5
started this conversation in
Ideas
Replies: 1 comment
|
I prefer not to. I might change my mind but I honestly think it’s not worth it. Instead using services like esm.sh or jsdelivr is easier for me |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi @posva! 🙂
Would you be open to shipping a dist/index.esm-browser.prod.js build, like Pinia does? I'd like to load Pinia Colada through an import map alongside
vueandpinia.Right now dist/index.mjs can't be used that way because:
The browser build would replace process.env.NODE_ENV, inline nostics and keep vue/pinia external.
Happy to open a PR! 😉
All reactions