-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
chore: include rimraf as part of the build for most of the packages #4615
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@olivermrbl I am not sure but I don't think we should include a changeset here right? |
No this doesn't need one 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yaaaas! This has caused much pain. Good man @adrien2p. 🎉
What
At the moment, in most packages, when we run the build script after removing something or changing pr, the dist directory does not get cleaned up and might still contain your old files. In those cases, if you don't pay attention, you might end up having weird behaviors and errors that might take sometimes before thinking about removing the dist and re-building. This pr add rimraf in most of the packages where it was missing as well as updated the build commands to include rimraf of the dist directory to prevent this situation.