haruaki07 / phosphor-svelte

A clean and friendly icon family for Svelte
MIT License
120 stars 7 forks source link

Wrong packaging? #3

Closed akiarostami closed 2 years ago

akiarostami commented 2 years ago

Recently when I run a couple of sveltekit projects with phosphor-svelte, I get these messages:

phosphor-svelte is incorrectly packaged. Please contact the package author to fix. (sveltekit v1.0.0-next.202)

and

phosphor-svelte doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix. (sveltekit v1.0.0-next.210)

I didn't get these message with earlier version of sveltekit / vite.

haruaki07 commented 2 years ago

Fixed in v1.1.2. Thanks!