Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

khromov
Copy link

@khromov khromov commented Jan 4, 2022

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)

…e: module

The path to `module` and `main` was incorrect. 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)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant