1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 12:49:19 +00:00

Compatibility fix for custom panel (#1321)

* Compatibility fix for custom panel

* Lint
This commit is contained in:
Paulus Schoutsen
2018-06-22 10:17:06 -04:00
committed by GitHub
parent 8d5c862908
commit 53e698c757
4 changed files with 22 additions and 11 deletions

View File

@@ -21,6 +21,7 @@ function createConfig(isProdBuild, latestBuild) {
app: './src/entrypoints/app.js',
authorize: './src/entrypoints/authorize.js',
core: './src/entrypoints/core.js',
compatibility: './src/entrypoints/compatibility.js',
'custom-panel': './src/entrypoints/custom-panel.js',
};
@@ -81,7 +82,6 @@ function createConfig(isProdBuild, latestBuild) {
babelOptions.presets = [
[require('babel-preset-env').default, { modules: false }]
];
entry.compatibility = './src/entrypoints/compatibility.js';
}
if (isProdBuild) {