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

svelte-package --preserve-output #13041

Open
GauBen opened this issue Nov 22, 2024 · 1 comment
Open

svelte-package --preserve-output #13041

GauBen opened this issue Nov 22, 2024 · 1 comment
Labels
feature / enhancement New feature or request pkg:svelte-package Issues related to svelte-package

Comments

@GauBen
Copy link
Contributor

GauBen commented Nov 22, 2024

Describe the problem

Running svelte-package will rimraf(output) (

rimraf(output);
) which means that all operations must be run after running svelte-package

Describe the proposed solution

Add a --preserve-output flag (or similarly named) that skips removing the output directory

This is especially useful in --watch mode when other operations can happen concurrently

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

@GauBen
Copy link
Contributor Author

GauBen commented Nov 22, 2024

If the idea is accepted, I would love to contribute the feature

Edit: MR ready! #13055

@eltigerchino eltigerchino added pkg:svelte-package Issues related to svelte-package feature / enhancement New feature or request labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature / enhancement New feature or request pkg:svelte-package Issues related to svelte-package
Projects
None yet
Development

No branches or pull requests

2 participants