Files
lucide/packages
Davlatjon Sh d8b5ee75e8 fix(packages): ship ESM type declarations for Solid packages (#5263)
`lucide-solid` and `@lucide/solid` have no `"type": "module"` and point every
`types` export condition at `.d.ts` files, so TypeScript's Node16/NodeNext
resolution reads the declarations as CommonJS. ESM consumers then get the
module object instead of the component for per-icon default imports
(`import Camera from '@lucide/solid/icons/camera'`), failing with TS2604/TS2322.

Emit `.d.mts` declarations next to the existing `.d.ts` files (rollup rewrites
their relative imports to `.mjs`) and select them via a nested `import`
condition under `types`, as lucide-react already does with `.d.mts` files.
The `.d.ts` files, top-level `types` field and runtime conditions are unchanged.
2026-11-23 16:03:02 +01:00
..
2026-11-02 18:39:06 +01:00
2026-11-02 18:39:06 +01:00