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

Monorepo: most files go to vendors chunk #12

Open
fallemand opened this issue Sep 27, 2022 · 3 comments
Open

Monorepo: most files go to vendors chunk #12

fallemand opened this issue Sep 27, 2022 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fallemand
Copy link

fallemand commented Sep 27, 2022

I'm using the plugin in a monorepo, and when using it, all the compiled code is going to vendors, even though they contain source code from other packages in the same monorepo.

Is there a way to avoid generating the vendors file? Or at least not to include there the packages of the monorepo?
Thanks!

image

@fallemand fallemand changed the title Monorepo: most files goes to vendors Monorepo: most files go to vendors chunk Sep 27, 2022
@CaptainLiao
Copy link
Owner

probably not.

this plugin will compile all source code.

@fallemand
Copy link
Author

All the source code is getting compiled, but it's generating a chunk called vendors, when all this code comes from the same monorepo. I want the code from other packages in the same monorepo to be included in the same chunk, and not extracted in vendors.js

@CaptainLiao CaptainLiao added enhancement New feature or request help wanted Extra attention is needed labels Oct 12, 2022
@TeoChi-CF
Copy link

Same issue, I get a massive vendor chunk when using this plugin with monorepo :(
Is there another way to give a meaningful names to my chunks without this plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants