[Need feedback] ESM format and exports field in package.json #163
asmyshlyaev177
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Library now use cjs, umd and esm formats as output.
Also starting to implement
exports
field for package.json.It's kinda twisted, so I will appreciate any feedback.
So you can copy-paste
package.json
file from my PR to yournode_modules/react-horizontal-scrolling-menu
and check if your app builds and works properly, specify Node version, and if you use CRA/NextJS/rollup/webpack/etc.More info:
NodeJS docs
Preact implementation
skypack
another approach
PR
Beta Was this translation helpful? Give feedback.
All reactions