Types haven't been bundled by microbundle聽#1084
Copy link
Copy link
Open
Description
Activity
Have you tried?
// your types export {}
Looks like this was fixed upstream in ezolenko/rollup-plugin-typescript2#406, just haven't upgraded here yet.
Hopefully a postbuild
cp src/type.d.ts dist/isn't too much of a hassle for the time being.- linked a pull request that will close this issuechore: Bump (most) deps #1081
on Jul 3, 2024 - added a commit that references this issue
on Jul 18, 2024
Metadata
Metadata
Assignees
Labels
No labels
Microbundle ignores
*.tsfiles if they contain only types. Example of the file: https://github.com/XaveScor/signal-components/blob/dff96fd7151db5aae7421059836794a7880c2649/src/types.ts.Reproduction:
Expected Result:
types.d.tsis included in the./distdirectory.Actual Result:
types.d.tsdoes not exist. Types are broken because we have./typesimports, but the file is missing.