react-use-count-down
react-use-count-down copied to clipboard
package.json fields references wrong files
The published version has flattened file structure, which means the references to source, main, module, unpkg in package.json are wrong, leading to problems with bundlers using those fields (e.g. vite).
v1.1.3

v1.1.1

Yes, this broke the bundler when the dependency got auto-resolved to v1.1.3
Downgrading fixes it.
I got the same issue when running test with vitest.
Error: Failed to resolve entry for package "react-countdown-hook". The package may have incorrect main/module/exports specified in its package.json.
@alexkhismatulin Can you please make a new correct release?