react-use-count-down icon indicating copy to clipboard operation
react-use-count-down copied to clipboard

package.json fields references wrong files

Open formatlos opened this issue 2 years ago • 3 comments

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 3

v1.1.1 v1 1 1

formatlos avatar Apr 20 '23 14:04 formatlos

Yes, this broke the bundler when the dependency got auto-resolved to v1.1.3 Downgrading fixes it.

frzkn avatar Jun 16 '23 07:06 frzkn

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.

HuyAms avatar Nov 01 '23 08:11 HuyAms

@alexkhismatulin Can you please make a new correct release?

LesTontonsDev avatar Dec 05 '23 22:12 LesTontonsDev