mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Code split voice and more info dialog out (#1182)
This commit is contained in:
parent
3fa9896543
commit
1971223ad3
@ -7,12 +7,14 @@ import { html } from '@polymer/polymer/lib/utils/html-tag.js';
|
||||
import { PolymerElement } from '@polymer/polymer/polymer-element.js';
|
||||
|
||||
import '../components/ha-sidebar.js';
|
||||
import '../dialogs/ha-voice-command-dialog.js';
|
||||
import '../util/ha-url-sync.js';
|
||||
import '../util/hass-mixins.js';
|
||||
import './partial-cards.js';
|
||||
import './partial-panel-resolver.js';
|
||||
|
||||
import(/* webpackChunkName: "more-info-dialog" */ '../dialogs/ha-more-info-dialog.js');
|
||||
import(/* webpackChunkName: "voice-command-dialog" */ '../dialogs/ha-voice-command-dialog.js');
|
||||
|
||||
{
|
||||
const NON_SWIPABLE_PANELS = ['kiosk', 'map'];
|
||||
|
||||
|
@ -49,7 +49,7 @@ function createConfig(isProdBuild, latestBuild) {
|
||||
if (latestBuild) {
|
||||
plugins.push(CopyWebpackPlugin([
|
||||
{ from: 'build-translations/output', to: `translations` },
|
||||
'node_modules/@polymer/font-roboto-local',
|
||||
{ from: 'node_modules/@polymer/font-roboto-local/fonts', to: 'fonts' },
|
||||
'node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js',
|
||||
{ from: 'node_modules/leaflet/dist/leaflet.css', to: `images/leaflet/` },
|
||||
{ from: 'node_modules/leaflet/dist/images', to: `images/leaflet/` },
|
||||
|
Loading…
x
Reference in New Issue
Block a user