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

Add a library mode / packaging #33

Open
fabien-ml opened this issue Jan 1, 2022 · 2 comments
Open

Add a library mode / packaging #33

fabien-ml opened this issue Jan 1, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@fabien-ml
Copy link

Hi,
It would be nice to have an option like the sveltekit package to allow people to create library without the pain to configure rollup or vite build config, add .d.ts files etc...

@ryansolid
Copy link
Member

Interesting, so they force everything into src/lib and then get you to publish from a created subdirectory. Seems interesting also seems a bit fragile/restrictive. I can see the motivation. Let's add it to the list to explore but I don't see this as a primary goal currently.

@fabien-ml
Copy link
Author

I've posted the issue here because in svelte it's in sveltekit but maybe a simple solid template with a pre made vite build.lib config could do the job.

I'm sure i'm not the only one that want to build a lib but doesn't know anything about rollup and "how to deploy a package", which js export format to use etc...😅

@nksaraf nksaraf added the enhancement New feature or request label Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants