Skip to content

Install as npm install or build & copy dist? #20

Answered by Dan6erbond
SGarno asked this question in Q&A
Discussion options

You must be logged in to vote

SvelteKitAuth has actually been published to NPM since yesterday. You can install it via npm install sk-auth or yarn add sk-auth, but I still have to add that to the README.md and documentation when I get around to it!

As for the build process, it's now being handled with Rollup, which generates a dist/ folder with the output that mirrors the original folder structure and type definitions. I still need to figure out a way to merge types from src/*, src/client/* and src/providers/* to their own index.d.ts files, but the rest should work as I'm leveraging individual package.json files for sk-auth/client and sk-auth/providers which seems to be compatible with Vite and works in two of my proj…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SGarno
Comment options

@Dan6erbond
Comment options

Answer selected by Dan6erbond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants