<template is="dom-repeat" items="[[history]]">
<template is="dom-if" if="[[isLastElement(index)]]">
...
</template>
</template>
@aruntk what does wc-loader take care of though? Based on what I'm seeing it's not possible to use UglifyJS to minify the code (I'm getting errors). Based on what I'm seeing that all comments html/js/css are remaining in the code but your package says it does minification.
I'm guessing wc-loader splits the webcomponents into separate parts? So then after that we should theoretically be able to use plugins for minification and comment stripping?
Btw, again have to say it, you're the best :) Our community page ended up on product hunt :).
// index.html
<paper-button>Button</paper-button>
// paper-button.html
...
<template>
<style>
:host {
background-color: grey;
padding: 10px;
display: block;
}
:host[raised] {
font-weight: bold;
}
</style>
...