Move CSS mask-image from inline data: to files (#11258)

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-11-04 07:51:15 +00:00
1 parent 9f8423c324
commit 45c28429d2
32 files changed
+44 -22

No files matched your search

+5 -2
View File
@@ -89,11 +89,14 @@ module.exports = (env, argv) => ({
loader: "css-loader",
options: {
sourceMap: true,
// ignore the URLS on the base styles as they are picked
// ignore the URLS on the base styles and mask images as they are picked
// from the war/src/main/webapp/images dir
url: {
filter: (url, resourcePath) => {
return !resourcePath.includes("styles.scss");
return (
!resourcePath.includes("styles.scss") &&
!url.includes("../images/svgs/")
);
},
},
},