CrownFramework / svelte-error-boundary

Error Boundaries for Svelte
MIT License
75 stars 5 forks source link

Fix incorrect main script path in package.json and set package to type: module #9

Open khromov opened 2 years ago

khromov commented 2 years ago

The path to module and main is not correct. Without this change you get the following Rollup error when building (note the import is in a .ts file, not .svelte)

(!) Plugin typescript: @rollup/plugin-typescript TS2307: Cannot find module '@crownframework/svelte-error-boundary' or its corresponding type declarations.
src/lib/error.ts: (1:32)