You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PnP (Plug'n'Play) is enabled with Yarn Berry (should not be relevant)
is generated without type definition file (as default, maybe should be generated a types.d.ts if export(s) is index.js or types.d.mts if export(s) is index.mjs)
Expected behavior
/dist/types.d.mts file contains related type definition:
rtritto
changed the title
Type definition file isn't bundled
Type definition file is empty
Oct 11, 2024
rtritto
changed the title
Type definition file is empty
Empty export of type definition file
Oct 11, 2024
rtritto
changed the title
Empty export of type definition file
Empty export in type definition file
Oct 11, 2024
rtritto
changed the title
Empty export in type definition file
Empty export in type definition file: types.d file is ignored
Oct 11, 2024
rtritto
changed the title
Empty export in type definition file: types.d file is ignored
Empty export in type definition file: type definition file is ignored
Oct 11, 2024
Problem
After build there is a warning log:
Generated an empty chunk: "types.d".
The export in the type definition file is empty:
Notes
types.d.ts
is ignored by pkgrollis generated without type definition file (as default, maybe should be generated atypes.d.ts
if export(s) isindex.js
ortypes.d.mts
if export(s) isindex.mjs
)Expected behavior
/dist/types.d.mts
file contains related type definition:Minimal reproduction URL
https://github.com/rtritto/test-pkgroll/tree/bug-type-definition
Version
2.5.0
Node.js version
22.9.0
Package manager
yarn
Operating system
Windows
Bugs are expected to be fixed by those affected by it
Compensating engineering work financially will speed up resolution
The text was updated successfully, but these errors were encountered: