mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Gather editor-toolbar svelte components into filegroup
This commit is contained in:
parent
488fb1af85
commit
72b33bf361
2 changed files with 7 additions and 14 deletions
|
@ -9,6 +9,12 @@ svelte_files = glob(["*.svelte"])
|
|||
|
||||
svelte_names = [f.replace(".svelte", "") for f in svelte_files]
|
||||
|
||||
filegroup(
|
||||
name = "svelte_components",
|
||||
srcs = svelte_names,
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
compile_svelte(
|
||||
name = "svelte",
|
||||
srcs = svelte_files,
|
||||
|
|
|
@ -108,20 +108,7 @@ esbuild(
|
|||
"mdi-icons",
|
||||
"editor_ts",
|
||||
"//ts/editor-toolbar:local_css",
|
||||
"//ts/editor-toolbar:ButtonDropdown",
|
||||
"//ts/editor-toolbar:ButtonGroup",
|
||||
"//ts/editor-toolbar:IconButton",
|
||||
"//ts/editor-toolbar:LabelButton",
|
||||
"//ts/editor-toolbar:SelectButton",
|
||||
"//ts/editor-toolbar:SelectOption",
|
||||
"//ts/editor-toolbar:RawButton",
|
||||
"//ts/editor-toolbar:EditorToolbar",
|
||||
"//ts/editor-toolbar:CommandIconButton",
|
||||
"//ts/editor-toolbar:WithDropdownMenu",
|
||||
"//ts/editor-toolbar:DropdownItem",
|
||||
"//ts/editor-toolbar:DropdownMenu",
|
||||
"//ts/editor-toolbar:SquareButton",
|
||||
"//ts/editor-toolbar:ColorPicker",
|
||||
"//ts/editor-toolbar:svelte_components",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue