Skip to content

Built package loses type definitions upon import. #844

@ghost

Description

package.json:

  "main": "dist/index.umd.js",
  "module": "dist/index.modern.module.js",
  "types": "dist/index.d.ts",

Upon importing this package in another package, our build only includes certain types, for others they are 'any'.

Our .dist folder includes hooks.d.ts, store.d.ts, & index.d.ts.

I understand this is not much info, I am unfamiliar with the microbundle package, so if you need any more info, please ask :)

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