[SharedUX] Add url-loader to BAZEL.build (#128650)

* [SharedUX] Fix url path

* Add url-loader as bazel dependency
This commit is contained in:
Maja Grubic 2022-03-29 22:41:00 +02:00 committed by GitHub
parent dccd8290bb
commit 865f7fc1e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,7 @@ SOURCE_FILES = glob(
"src/**/*.tsx",
"src/**/*.scss",
"src/**/*.mdx",
"src/**/*.svg",
],
exclude = [
"**/*.test.*",
@ -50,6 +51,7 @@ RUNTIME_DEPS = [
"@npm//classnames",
"@npm//react-use",
"@npm//react",
"@npm//url-loader",
]
# In this array place dependencies necessary to build the types, which will include the

View file

@ -7,7 +7,7 @@
line-height: 100px;
border-radius: 100px;
display: inline-block;
background: $euiColorEmptyShade url('/assets/texture.svg') no-repeat;
background: $euiColorEmptyShade url('assets/texture.svg') no-repeat;
background-size: cover, 125%;
text-align: center;
}