You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.
Hi,
I found an issue while deploying the project using grunt build.
There was a problem with "minifyHtml" task.
This task is ignoring the {{route}} value in the selected attribute of a polymer core element..
I had to comment this task (grunt file) to make it work.
In Detail.
I have a core animated pages with selected attributed set as {{route}}
" core-animated-pages valueattr="hash" selected="{{route}}"
When deploying this using grunt build, the distributed file has only the following.
core-animated-pages valueattr="hash" selected
This is missing the selected attribute value.
This is happening not only for core animated pages, but also for for core menu.
Thanks
Koushik
The text was updated successfully, but these errors were encountered:
It looks like the issue is caused by the selected attribute itself. If you use a different attribute name, like baz, minifyHtml will leave the binding in place.
75b4e96 fixes this by adding the spare: true option to the minifyHtml task. I subscribed to the thread linked by @sindresorhus to see if there are any future updates on this.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I found an issue while deploying the project using grunt build.
There was a problem with "minifyHtml" task.
This task is ignoring the {{route}} value in the selected attribute of a polymer core element..
I had to comment this task (grunt file) to make it work.
In Detail.
I have a core animated pages with selected attributed set as {{route}}
" core-animated-pages valueattr="hash" selected="{{route}}"
When deploying this using grunt build, the distributed file has only the following.
core-animated-pages valueattr="hash" selected
This is missing the selected attribute value.
This is happening not only for core animated pages, but also for for core menu.
Thanks
Koushik
The text was updated successfully, but these errors were encountered: