Replies: 1 comment 3 replies
-
Hi Kersten, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I really like your component lib! But it would be cool if there is an option to export the JavaScript as real ES6 modules. We are now in 2023 and IIFE feels not contemporary anymore.
I have problems to import your stuff in an Astro page with this pattern. What I currently do is something like:
And then call that in the component.
If I could select "as ES6" in export config would be very helpful. And I think this could be automated. I could even write a script for that.
Off topic:
TypeScript of course would be awesome, but too much work I guess. Or do you have any plans to re-work your JS foundation (e. g. transform
var
more toconst
)?Best regards,
Kersten
Beta Was this translation helpful? Give feedback.
All reactions