-
Notifications
You must be signed in to change notification settings - Fork 27
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
Should clear the whole dist folder #485
Labels
area:bug
Something isn't working
Comments
Should we clear the common top-level directory for all exports? |
If someone wants bundle files to {
"exports": {
".": {
"import": "./public/js/index.mjs",
"require": "./public/js/index.cjs",
}
}
}
|
We can clean the 1st common directory: For this case:
We can clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bunchee will clean folders like
./dist/es
,/dist/cjs
but not./dist/test.ts
if you create one.Ideally the
./dist
folder should be removed to avoid bad files are includedThe text was updated successfully, but these errors were encountered: