phalethdoes that mean for primate website we have to define `groups: { docs: "/docs", guides: "/guides", blog: "/blog" }` and only then those routes will be split?
blueyes; note that the splitting as it is currently will create full (not shared) bundles for all three. so browsing between those fences will load those full bundles instead of reusing share code. If we need a shared code functionality, then we need to extend this feature
phalethah, ok, sounds good
bluesonuds good as in, we need shared bundles, or you're ok with how it is? probably for primate website shared common code is better for perf
phalethit depends on how big is the "core" of the primate website app
blueI'll have clanker analyse.
* blue clankering
phalethor in other words if the chunk being split out is 40 kB of JS or more then it's worth splitting the route
bluehm, that's hard to know in advance
phalethyes, has to be tested on primate website, I think this scenario is ideal `groups: { app: "/", docs: "/docs", guides: "/guides"}`
phalethif the homepage app JS bundle size drops significantly then the implementation is good
bluegood goal definition
bluephaleth: please check out primate#80 (you should get a bell)
phalethalright
bluethe last note is a bit clankered I feel "This would be a separate follow-up capability rather than an implicit change to #80's isolation contract.". I would implement everything as part of #80
blueI wonder this feature done right in one go, not different tasks
blueI want*
phalethyeah, I can see what you are trying to do there
phalethbut it's getting a bit hairy
blueyou have a better direction?
blueclanker came up with some overengineered conf object, I told him to simplify it
phalethyeah, checking the route prefixes is fine, no need for other operations
phalethI will just try it on primate website
bluewell, the graphs thing is good to avoid having full bundles
blueotherwise /, /docs and /guides will all be very big, you gain nothing
bluegoal is for / to be small I think
phalethyeah, I'm reading
phalethtypescript is getting in the way, but that's because primate still uses pnpm which kinda ignores TS errors it seems
blueyes
phalethmind if I just fixed all those errors so we can get replace pnpm to make the development faster?
bluesure
phalethok, let me comment, I think it's not going well
bluek
phalethdone :)
phalethlooks like for primate website itself current changes are not a big deal as the core of the JS bundle is just too big
phalethbut if those changes are good for repopack after the bug I found is fixed then I think it's all good
phalethshould I also respond to the `graphs` idea?
blueyes
phalethalright
phalethclanker is always so confident :)
phalethanyway, this change prolly won't do much for primate website even with the graphs feature, but worth a shot I guess
blueya
phalethalso it seems like the graphs feature won't be flawless, may as well abandon the idea
bluewhy not? also dev clanker finished, review clanker is now checking
blue(finished fix, I mean)
bluebtw if you have issues with graphs feature, please post in tank
bluetask*
bluephaleth: pinged you
phalethit just looks to me the rabbit hole got too deep, but I can test
bluewe're not doing graphs yet, the fix was for the error you encountered
blueok phaleth, looks now like it's working for you, yes?
blueby the way, what do you mean with "full load"? it's supposed to load the additional assets
phalethI will comment what I mean by full load
bluek
phalethok, commented
bluegreat, I see you also asked for changes, so it's now in REVISION
bluegreat
phalethheh
* phaleth joined #primate
* phaleth joined #primate
* nevet joined #primate
* blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc