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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user