Open Primajin opened 12 months ago
The feature is valid. @Primajin Just curious, do you still need it?
Yes that would still be nice ๐๐ป
@ZeeshanTamboli Is there a roadmap / planning for this by any chance? Could this be prioritized given we are Premium Subscribers ๐ ?
๐ณ 72801 ๐๐ป
@Primajin, there's no official roadmap for this. It would be great if you could give it a try on your own.
Iโm facing the same issue and want to try to create a PR, but I canโt make any promises with respect to a timeline at this point. ๐
Duplicates
Latest version
Summary ๐ก
I would like to request a reverse version of the top-level-imports codemod.
Given https://mui.com/material-ui/guides/minimizing-bundle-size/#option-one-use-path-imports Path Level Imports is the easiest solution when dealing with slowness but especially when using CRA it can be very hard to configure top-level-imports to run smoothly.
Examples ๐
https://github.com/mui/material-ui/blob/master/packages/mui-codemod/src/v5.0.0/top-level-imports.js but in reverse
Motivation ๐ฆ
I am experiencing slow tests and startup times and I was following the documentation here: https://mui.com/material-ui/guides/minimizing-bundle-size/#option-two-use-a-babel-plugin. However when adding the necessary steps tests will fail because of other third party modules that use Material and are incompatible with the change.
I would like to try out if turning back from
top-level-imports
topath-imports
will solve our issues but in order to see the results I would need to manually rewrite a ton of code, and a codemod would be very helpful instead.