mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
frontend compile script now strips comments
This commit is contained in:
parent
cea18ee561
commit
fa75458b30
@ -9,7 +9,8 @@ cp polymer/bower_components/webcomponentsjs/webcomponents.min.js .
|
||||
|
||||
# Let Polymer refer to the minified JS version before we compile
|
||||
sed -i.bak 's/polymer\.js/polymer\.min\.js/' polymer/bower_components/polymer/polymer.html
|
||||
vulcanize -o frontend.html --inline polymer/splash-login.html
|
||||
|
||||
vulcanize -o frontend.html --inline --strip polymer/splash-login.html
|
||||
|
||||
# Revert back the change to the Polymer component
|
||||
rm polymer/bower_components/polymer/polymer.html
|
||||
|
@ -1,2 +1,2 @@
|
||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||
VERSION = "dd558fd889218687c8f42d6fe21fd1b3"
|
||||
VERSION = "570111f1ff17703d36768c4f271f7053"
|
||||
|
File diff suppressed because one or more lines are too long
@ -94,9 +94,10 @@
|
||||
</div>
|
||||
</core-toolbar>
|
||||
|
||||
<div class="content" flex>
|
||||
<states-cards api="{{api}}" filter="{{selectedTab}}"></states-cards>
|
||||
</div>
|
||||
<states-cards
|
||||
api="{{api}}"
|
||||
filter="{{selectedTab}}"
|
||||
class="content"></states-cards>
|
||||
|
||||
</core-header-panel>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user