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

allow manualChunks to be false #5054

Closed
wants to merge 1 commit into from

Conversation

SIGSTACKFAULT
Copy link

@SIGSTACKFAULT SIGSTACKFAULT commented Jul 5, 2023

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other - only changed types

Are tests included?

  • yes
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers: N/A

Description

allow manualChunks to be false so it can be overridden when configs are merged. this probably only affects me.

so it can be overridden when vite merges configs
this probably only affects me.
@vercel
Copy link

vercel bot commented Jul 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2023 7:04pm

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume an explicit undefined would not work? The problem is, there is quite a bit more that needs to happen to add a new config value:

  • adapt normalized options, or adapt the normalizer
  • adapt documentation
  • add a test

Also, false feels slightly off for this option. Would null also work? What problem is this actually solving? Is Vite generating manual chunks that you do not want? Wouldn't it make more sense to adapt/add an option on Vite side? After all, this fixes no problem inherent to Rollup but to a secondary tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants