Exclude esprima and drop js-yaml from lovelace chunk (#5649)

This commit is contained in:
Bram Kragten
2020-04-30 20:39:36 +02:00
committed by GitHub
parent 2abfd0392d
commit f3e88f6f2e
9 changed files with 78 additions and 48 deletions

View File

@@ -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"),