mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
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:
32 files changed
+44
-22
No files matched your search
+5
-2
@@ -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/")
|
||||
);
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user