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

More build outputs for package command #2658

Closed
dummdidumm opened this issue Oct 21, 2021 · 2 comments
Closed

More build outputs for package command #2658

dummdidumm opened this issue Oct 21, 2021 · 2 comments
Labels
feature request New feature or request pkg:svelte-package Issues related to svelte-package

Comments

@dummdidumm
Copy link
Member

Describe the problem

The package command provides a good solution already for outputting raw Svelte files along with type definitions. People wanting to provide self-contained build outputs are left out for now.

Describe the proposed solution

Provide the option to create a bundled version which is compiled an self-contained so people can use the library in non-Svelte contexts. Formats are ESM and maybe UMD.

Alternatives considered

Some docs on how to set this up yourself

Importance

nice to have

Additional Information

Continuation of #518

@dummdidumm dummdidumm added pkg:svelte-package Issues related to svelte-package feature request New feature or request labels Oct 21, 2021
@ignatiusmb
Copy link
Member

Would this be a superset of #2572?

@dummdidumm
Copy link
Member Author

Damn I'm stupid, creating my own duplicate issues 😄 Closing this one as duplicate of #2572 and enhancing the issue text there a little.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request pkg:svelte-package Issues related to svelte-package
Projects
None yet
Development

No branches or pull requests

2 participants