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

New Library project type from svelte-create #134

Closed
niktek opened this issue Aug 20, 2022 · 0 comments · Fixed by #135
Closed

New Library project type from svelte-create #134

niktek opened this issue Aug 20, 2022 · 0 comments · Fixed by #135

Comments

@niktek
Copy link
Contributor

niktek commented Aug 20, 2022

There is a new option now for npm create svelte@next that adds a library project type.

I've done a diff on the two project structures and the main things we should look at are:

package.json:
"build": "svelte-kit sync && svelte-package" which presumably ensures that the types are properly generated before the packaging is done.

tsconfig.json
"moduleResolution": "NodeNext" under compilerOptions.

I've done a test of these settings in Skeleton and there doesn't seem to be any issues at first glance.

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 a pull request may close this issue.

1 participant