Skip to content

build: generate esm/index.d.mts for all packages - #963

Open
batusai513 wants to merge 1 commit into
ItsBenCodes:mainfrom
batusai513:fix_esm_dts
Open

build: generate esm/index.d.mts for all packages#963
batusai513 wants to merge 1 commit into
ItsBenCodes:mainfrom
batusai513:fix_esm_dts

Conversation

@batusai513

Copy link
Copy Markdown

Use rollup-plugin-dts to emit a single bundled .d.mts declaration file for the ESM output of each package.

Fixes package.json exports "types" condition for ESM consumers using moduleResolution: nodenext/bundler.

Fixes #962

Use rollup-plugin-dts to emit a single bundled .d.mts declaration
file for the ESM output of each package.

Fixes package.json exports "types" condition for ESM consumers
using moduleResolution: nodenext/bundler.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TS] Default import not constructable under moduleResolution: nodenext / verbatimModuleSyntax

1 participant