Repository navigation
Typing
Bug Fixes
- Fix missing type declarations in published package — previous releases only included
firemitt.es.jsindist/. This was caused by"noEmit": trueintsconfig.json(required byallowImportingTsExtensions) blockingvite-plugin-dtsfrom emitting.d.tsfiles.
Changes
- Added
tsconfig.build.json— a build-only TypeScript config that extends the maintsconfig.jsonwith emit-compatible overrides (noEmit: false,declaration: true,emitDeclarationOnly: true). - Updated
vite.config.jsto pointvite-plugin-dtsattsconfig.build.json, ensuringdist/index.d.tsand all declaration files are generated on every build.
The "types": "./dist/index.d.ts" export condition in package.json now resolves correctly for consumers.
Full Changelog: 0.1.6...0.1.7