Skip to content

Update css-loader from v5 to v7 - #2161

Open
GilbertCherrie wants to merge 1 commit into
ManageIQ:masterfrom
GilbertCherrie:update-css-loader
Open

Update css-loader from v5 to v7#2161
GilbertCherrie wants to merge 1 commit into
ManageIQ:masterfrom
GilbertCherrie:update-css-loader

Conversation

@GilbertCherrie

@GilbertCherrie GilbertCherrie commented Aug 27, 2026

Copy link
Copy Markdown
Member

Replaces the PR: #2158

This PR updates css-loader to its latest version. It also removes the file-loader and url-loader packages as they are no longer needed.

@GilbertCherrie GilbertCherrie changed the title Update css-loader Update css-loader from v5 to v7 Aug 27, 2026
Comment thread config/webpack.dev.js
Comment on lines +109 to +110
filename: '[contenthash][ext]',
publicPath: `${appBasePath}styles/`,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

With prod build it looks like the browser can't fetch a couple of logos:

Image

If you see the errors browser is trying to get from /ui/service/ui/service/styles/. Could you prefix the filename with styles/ to match the previous name and remove publicPath from here?

Suggested change
filename: '[contenthash][ext]',
publicPath: `${appBasePath}styles/`,
filename: 'styles/[contenthash][ext]',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants