mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-14 13:31:10 +00:00
Exclude esprima and drop js-yaml from lovelace chunk (#5649)
This commit is contained in:
@@ -21,7 +21,6 @@ const ALWAYS_LOADED_TYPES = new Set([
|
||||
"entities",
|
||||
"button",
|
||||
"entity-button",
|
||||
"error",
|
||||
"glance",
|
||||
"history-graph",
|
||||
"horizontal-stack",
|
||||
@@ -34,6 +33,7 @@ const ALWAYS_LOADED_TYPES = new Set([
|
||||
|
||||
const LAZY_LOAD_TYPES = {
|
||||
"alarm-panel": () => import("../cards/hui-alarm-panel-card"),
|
||||
error: () => import("../cards/hui-error-card"),
|
||||
"empty-state": () => import("../cards/hui-empty-state-card"),
|
||||
"entity-filter": () => import("../cards/hui-entity-filter-card"),
|
||||
"media-control": () => import("../cards/hui-media-control-card"),
|
||||
|
||||
Reference in New Issue
Block a user