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 the ability to customise rollup-plugin-clean's config #1448

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

mansona
Copy link
Member

@mansona mansona commented May 24, 2023

Now that #1446 is merged this PR adds the ability to customise the config sent to addon.clean() using the available config on the underlying rollup-plugin-delete package

Essentially I think that changing the build step for everyone was a bit too aggressive a change and can cause issues (like accidentally deleting previously emitted files). If you have a specific use case where you want to clean the dist files late in the stack you can just add the hook config to our clean() call with this PR 👍

@mansona mansona marked this pull request as draft May 24, 2023 16:29
@mansona mansona added the enhancement New feature or request label May 24, 2023
@mansona mansona force-pushed the customise-clean branch from 262fd97 to e62b869 Compare May 30, 2023 17:27
@mansona mansona requested a review from a team May 30, 2023 17:29
@mansona mansona marked this pull request as ready for review May 30, 2023 17:29
@mansona mansona merged commit a3ff5ed into main Aug 2, 2023
@mansona mansona deleted the customise-clean branch August 2, 2023 09:27
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

Successfully merging this pull request may close these issues.

3 participants