Skip to content

Commit

Permalink
limit webpack imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten committed Dec 27, 2023
1 parent 9d4516e commit 9938004
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ha-markdown-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ class HaMarkdownElement extends ReactiveElement {
node.localName
)
) {
import(`./${node.localName}`);
import(
/* webpackInclude: /(ha-alert)|(ha-qr-code)|(ha-icon)|(ha-svg-icon)/ */ `./${node.localName}`
);
}
}
}
Expand Down

0 comments on commit 9938004

Please sign in to comment.