Skip to content

Wrong package size of "type": "module" package #41

Description

@TomerAberbach

https://bundlephobia.com/package/svkc@0.0.1 says svkc@0.0.1 is 921 B minified and 437 B minified+gzipped, but that's not correct. It is 724 B and 331 B, respectively.

I think the issue is that somehow this package is manually minifying src/index.js in the package rather than respecting the path set in package.json via exports (as well as module), but not main (the package does not support CJS). The path pointed to is dist/index.js.

See https://github.com/TomerAberbach/svkc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions