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

Check vite.emptyOutDir before emptying dir #6153

Merged
merged 6 commits into from
Feb 6, 2023
Merged

Check vite.emptyOutDir before emptying dir #6153

merged 6 commits into from
Feb 6, 2023

Conversation

torchsmith
Copy link
Contributor

@torchsmith torchsmith commented Feb 6, 2023

Changes

  • What does this change?

Adds vite.build.emptyOutDir functionality

Not sure how to use pnpm or changeset.

Testing

No tests. Not sure how to add a test. Not sure how to build astro and manually test locally etc.

Docs

No Docs needed because this fits into existing docs.
Vite config should work within Astro config already.

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2023

🦋 Changeset detected

Latest commit: 09301da

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Feb 6, 2023
@torchsmith
Copy link
Contributor Author

#6151

@natemoo-re natemoo-re linked an issue Feb 6, 2023 that may be closed by this pull request
1 task
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
@torchsmith torchsmith requested a review from natemoo-re February 6, 2023 17:25
@torchsmith
Copy link
Contributor Author

Im not sure what i need to do here, if anything. Just let me know what I can do to get this merged into next patch.

@natemoo-re
Copy link
Member

Thanks @torchsmith! Nothing to do, I'm just waiting for CI to pass and then will merge.

Appreciate the fix!

@natemoo-re natemoo-re merged commit 1b591a1 into withastro:main Feb 6, 2023
@astrobot-houston astrobot-houston mentioned this pull request Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vite.build.emptyOutDir not taken into consideration
2 participants