guardian / guardian/dotcom-rendering
`css-loader` is deprecated
- Dominant language
- TypeScript
- Stars
- 274
- Forks
- 34
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 121
Description
https://github.com/webpack/css-loader#css-loader
The project recommends using webpack's built-in CSS parsing: https://webpack.js.org/guides/native-css
We use it here:
https://github.com/guardian/dotcom-rendering/blob/766d50865976d1959103d16dd15089d739b0f44d/dotcom-rendering/webpack/webpack.config.client.js#L137-L140
Contributor guide
Research direction
Start with the css-loader configuration at webpack/webpack.config.client.js lines 137-140, then read the linked webpack native CSS guide and compare it with the current setup. The work is done when the deprecated css-loader usage is replaced by webpack’s built-in CSS parsing and the client build still succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- webpack
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100