Régis Behmo
Régis Behmo
I was completely ignorant of peerDependencies before reading your comment, so thanks for taking the time to explain :) Yet, your explanations (or the ones I found [here](https://nodejs.org/en/blog/npm/peer-dependencies)) do not...
I believe I was testing frontend-platform, because I figured that I would have to fix frontend-platform's devDependencies before I could work on MFE apps. Isn't that a valid test case?...
:ok_hand: I'll update this PR accordingly. In the same spirit, should `@edx/browserslist-config` be moved to `dependencies` or copied to `peerDependencies`? I'm confused, because it seems to me that frontend-platform does...
I'm learning a lot from your conversation -- I'll just take a back seat and implement whatever decision you make. For instance, I could open PRs to move browserlists-config to...
> One thing that I don't see mentioned on that PR is impact on bundle size. I can't answer with confidence on that. As I explained [here](https://github.com/openedx/wg-frontend/issues/184#issuecomment-2774947710), I'm not too...
Maybe I've got the wrong idea since the beginning: I'm now thinking that webpack, frontend-build et al. could remain in devDependencies, and then Tutor would provide its own build system,...
> As I understand, there are two potential problems affecting MFE builds: image size and slow dependency installation. According to my experiments, there is a third one, which is: slow...
Here are a few resources related to improving build time: https://stackoverflow.com/questions/67615038/how-to-reduce-react-app-build-time-and-understanding-behaviour-of-webpack-when-b https://www.dhiwise.com/post/how-to-optimize-react-app-performance-with-webpack-5 https://dev.to/slashgear_/how-to-boost-the-speed-of-your-webpack-build-16h0 https://medium.com/@iMayank.Shekhar/keep-webpack-fast-a-tried-and-tested-guide-for-better-build-performance-fee466526233 https://michalzalecki.com/optimize-react-build-for-production-with-webpack/ https://rudolfolah.com/profiling-webpack-node-react/ https://slack.engineering/keep-webpack-fast-a-field-guide-for-better-build-performance/ https://medium.com/@sauravtiru/how-i-decreased-our-react-app-build-time-by-96-26-webpack-esbuild-3486b3262caa In addition, the cambrian explosion of build tools (webpack, vite, rsbuild, turobopack,...
> I’m not aware of us needing to do this for our plugin, and maybe that is just personal lack of awareness and maybe there are limited circumstances where this...
I am not familiar with the recent updates, so I'm not in the best position to comment. AFAIK this documentation change is still relevant.