-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm using this module inside a Nuxt app.
With server-side rendering enabled the import has to work both server and client-side (after hydration).
While everything works for production builds, I'm getting errors in dev mode trying to import it. I'm assuming Nuxts transpilation of Common JS to ES Modules doesn't work in dev mode.
Do you have any plans publishing this as an ECMAScript Module so it can be easily imported both in Node and the browser?
See https://nuxt.com/docs/guide/concepts/esm#library-author-guide
Metadata
Metadata
Assignees
Labels
No labels