From a9f29a3151d41f3b1bec928d1f30496ae18ba9fa Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 4 Aug 2018 15:15:44 +0200 Subject: [PATCH] Fix custom panel include (#1539) --- src/html/index.html.template | 1 + src/panels/custom/ha-panel-custom.js | 2 +- webpack.config.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/html/index.html.template b/src/html/index.html.template index efa0320b3c..3d9bf4461f 100644 --- a/src/html/index.html.template +++ b/src/html/index.html.template @@ -41,6 +41,7 @@ } `); + iframeDoc.write(``); iframeDoc.close(); } diff --git a/webpack.config.js b/webpack.config.js index 363a51df89..3b9b1b6d3f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -190,6 +190,7 @@ function createConfig(isProdBuild, latestBuild) { compatibility: assets.chunks.compatibility.entry, appjs: assets.chunks.app.entry, corejs: assets.chunks.core.entry, + customPanelJS: assets.chunks['custom-panel'].entry, }), filename: `index.html`, }),