Skip to content

Commit 7b32081

Browse files
committed
Update to latest vulcanize that takes excludes list
1 parent cdf4eeb commit 7b32081

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

_includes/common_elements.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@
1111

1212
{% endcomment %}
1313

14+
<!-- TODO put back when https://github.com/Polymer/HTMLImports/issues/42 is fixed. -->
1415
<!-- <link rel="import" href="/components/polymer/polymer.html"> -->
1516

1617
<!-- Leftnav and top toolbar. Used on all pages. -->
17-
<!-- <link rel="import" href="../components/polymer-ui-menu/polymer-ui-menu.html">
18-
<link rel="import" href="../components/polymer-ui-menu-item/polymer-ui-menu-item.html">
19-
<link rel="import" href="../components/polymer-ui-submenu-item/polymer-ui-submenu-item.html">
20-
<link rel="import" href="../components/polymer-ui-nav-arrow/polymer-ui-nav-arrow.html"> -->
2118
<link rel="import" href="../components/polymer-ui-toolbar/polymer-ui-toolbar.html">
2219
<link rel="import" href="../components/polymer-flex-layout/polymer-flex-layout.html">
2320
<link rel="import" href="../elements/docs-menu.html">

scripts/deploy_site.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# Vulcanize common elements for the site
3737
#node polymer-all/labs/vulcanize/bin/vulcanize -i _includes/common_elements.html -o elements/common_elements.vulcanized.html
38-
#vulcanize _includes/common_elements.html -o elements/common_elements.vulcanized.html
38+
vulcanize --config vulcanize_config.json _includes/common_elements.html -o elements/common_elements.vulcanized.html
3939

4040
# Compile .sass files.
4141
compass compile

vulcanize_config.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"excludes": {
3+
"imports": ["polymer.html$"]
4+
}
5+
}

0 commit comments

Comments
 (0)