Stanislav Lashmanov

Results 57 comments of Stanislav Lashmanov
trafficstars

@sapphi-red it does not work unfortunately. It produces a single massive shared chunk, while Webpack for example creates multiple shared chunks with a reasonable size.

That fixed it, thanks a lot @sapphi-red! I wonder if that could be set to a reasonable value initially to avoid potential confusion?

I see another problem now. All these shared chunks are importing code from each other now. So I get even more requests. I had the only chunk defined: `{ name:...

Thank you @IWANABETHATGUY, that fixes the problem. I am still not sure how to reduce the initial amount of JS requests to

> Currently the smallest number you could get for the initial requests is the (number of initial entries + 1 common that contains all shared modules) @hyf0 this unfortunately doesn't...

@IWANABETHATGUY you can clone [this branch](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/180509), run `yarn && yarn vite-prod` and observe compiled chunks in the `/public/assets/vite` folder. No matter which `advancedChunks` config I try I always end up...

@posva this is somewhat different. We could stub specific actions before that: ```js createTestingPinia({ stubActions: false }) actionsToStub.forEach(action => jest.spyOn(useMyStore(), action).mockReturnValue()) ``` What we can't do is stub everything but...