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
Convert icons scripts to ESM #35101
Convert icons scripts to ESM #35101
Conversation
|
Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
We run it roughly every 3 months (manually). It could be automated for sure, but the effort to do it is likely several times larger than running two scripts by hand :) Actually, let me update the icons now, so it's easier to verify if the changes you made to the scripts don't change the output (#35194). |
I've updated the icon set. Could you please merge in the latest master? |
Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
Convert the scripts in
@mui/icons-material
to ESM, and removebabel-node
Adding
.sort()
togenerateIndex
to guarantee cross platform order of exports.Nota bene: running
yarn src:download
produces several updated svgs. What's the policy around syncing icons? Is it being run periodically? Is it/can it be automated?