Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Remove raw-loader package #13160

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

LukasTy
Copy link
Member

@LukasTy LukasTy commented May 17, 2024

I started looking at how to solve https://github.com/mui/mui-x/security/dependabot/119.
This lead me to the super old raw-loader package.
Bumping to the latest version seemed to work.
Then I also tried removing the package鈥攏o issues after that as well. 馃

We are running our md files through @mui/internal-markdown/loader and that looks enough:

test: /\.md$/,

MUI Core seems still have the raw-loader dependency, but it is not used anywhere as far as I can see...
https://github.com/mui/material-ui/blob/cadb0b1b937b86b3be214ab65b1cc7067080f85a/package.json#L178

@LukasTy LukasTy added the core Infrastructure work going on behind the scenes label May 17, 2024
@LukasTy LukasTy self-assigned this May 17, 2024
@mui-bot
Copy link

mui-bot commented May 17, 2024

Deploy preview: https://deploy-preview-13160--material-ui-x.netlify.app/

Generated by 馃毇 dangerJS against 58fe642

@LukasTy LukasTy requested review from a team May 17, 2024 09:06
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems right. In core: mui/material-ui#42275

@flaviendelangle
Copy link
Member

I'm curious to know why we loose 1k lines and the core 33 馃槅

@LukasTy
Copy link
Member Author

LukasTy commented May 17, 2024

I'm curious to know why we loose 1k lines and the core 33 馃槅

They already had raw-loader@4.0.2, bumping that removes most of the duplicate old packages.

@LukasTy LukasTy merged commit 450d60a into mui:master May 17, 2024
18 checks passed
@LukasTy LukasTy deleted the remove-raw-loader branch May 17, 2024 11:16
@oliviertassinari oliviertassinari added the scope: code-infra Specific to the core-infra product label May 21, 2024
@oliviertassinari
Copy link
Member

Oh nice, I suspect we removed most of the dependency on raw-loader from mui/material-ui#26774.

arthurbalduini pushed a commit to arthurbalduini/mui-x that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes scope: code-infra Specific to the core-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants