-
Notifications
You must be signed in to change notification settings - Fork 360
Description
To but it mildly I'm extremely confused. For a zero configuration bundler there is a lot to do to make it work, while actually it's completely broken.
Typescript definitions are missing files that only include interfaces which leads to broken type definitions.
The esm format is actually not a module format but also just a bundle. I would have expected to see a low transpiled code that can be picked up by another bundler when it is imported as a library in another project.
I would also expect it not to be minified if it's a module format and that it also is not put into one file but actually preserve the module structure.
When using "type": "module" and "main": "./dist/index.cjs", as described in the README all bundles are named index.cjs.js, index.cjs.umd.js and so on. So all references in the package.json are wrong.