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

Add more hass data to gallery (#1487)

* Add more hass data to gallery

* Fix media player images
This commit is contained in:
c727
2018-07-20 22:13:34 +02:00
committed by Paulus Schoutsen
parent 93b1e29876
commit f42bddd447
8 changed files with 439 additions and 3 deletions

View File

@@ -49,9 +49,12 @@ module.exports = {
plugins: [
new CopyWebpackPlugin([
'public',
{ from: '../node_modules/leaflet/dist/leaflet.css', to: `static/images/leaflet/` },
{ from: '../node_modules/leaflet/dist/leaflet.css', to: 'static/images/leaflet/' },
{ from: '../node_modules/@polymer/font-roboto-local/fonts', to: 'static/fonts' },
{ from: '../node_modules/leaflet/dist/images', to: `static/images/leaflet/` },
{ from: '../node_modules/leaflet/dist/images', to: 'static/images/leaflet/' },
{ from: './src/data/media_player_images/media_player.bedroom.jpg', to: 'api/media_player_proxy/media_player.bedroom' },
{ from: './src/data/media_player_images/media_player.living_room.jpg', to: 'api/media_player_proxy/media_player.living_room' },
{ from: './src/data/media_player_images/media_player.walkman.jpg', to: 'api/media_player_proxy/media_player.walkman' },
]),
isProd && new UglifyJsPlugin({
extractComments: true,