mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Make mdi also use renamed pkg_from_name
This commit is contained in:
parent
443cef6b15
commit
e6996ae5d3
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def copy_bootstrap_icons(name = "bootstrap-icons", icons = [], visibility = ["//
|
||||||
def copy_mdi_icons(name = "mdi-icons", icons = [], visibility = ["//visibility:public"]):
|
def copy_mdi_icons(name = "mdi-icons", icons = [], visibility = ["//visibility:public"]):
|
||||||
vendor_js_lib(
|
vendor_js_lib(
|
||||||
name = name,
|
name = name,
|
||||||
pkg = _pkg_from_name("@mdi/svg"),
|
pkg = pkg_from_name("@mdi/svg"),
|
||||||
base = _npm_base_from_name("@mdi/svg"),
|
base = _npm_base_from_name("@mdi/svg"),
|
||||||
include = ["svg/{}".format(icon) for icon in icons],
|
include = ["svg/{}".format(icon) for icon in icons],
|
||||||
strip_prefix = "svg/",
|
strip_prefix = "svg/",
|
||||||
|
|
Loading…
Reference in a new issue