-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
feat(lib)!: use package name for css output file name #18488
Conversation
Thanks 💚 |
Co-authored-by: 翠 / green <green@sapphi.red>
Thinking on the breaking changes, maybe we could try to avoid them? Maybe we'd want to move |
I'm not sure if we should abstract I assume we still want to break the default naming of |
Agreed on not trying to move from
I was thinking on that. If we keep it as |
I think
Isn't it the same with |
With |
I thought that you think |
What I meant was that the breaking change from swapping the default from |
I think so. If we bring an option into Vite, I think it should also apply elsewhere outside of a rollup/rolldown bundle for it to be worth the maintenance. Otherwise we're guaranteeing it to work if we switch bundlers. Vite's structure had also been about relaying tooling responsibilities especially for advanced configurations 🤔 Personally I think it's better to break the name now that we have the chance. We want users to move to Vite 6 but not extra needed for lib mode users I think. Between re-using |
Ah, I see. I also think it's a good chance. I quite like Blu's idea of telling users to add |
Description
fix #4863
build.lib.fileName
is changed to a string or functionformat
argument can now be"css"