Open
Description
Describe the problem you'd like to have solved
When working in a ES6 module project I would like to be able to import
jsonwebtoken.
Describe the ideal solution
A specific build for ESM/ES6 Module as other projects have, like this: https://github.com/vuejs/vue/blob/dev/dist/vue.runtime.esm.js . Or entirely switch to ESM/ES6 Modules in a new major release.
Alternatives and current work-arounds
In a ESM context I know of no workarounds, except rewriting how the project exports.
Additional context
Great docs on ESM over at Mozilla: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
Metadata
Metadata
Assignees
Labels
No labels