Search code examples
javascriptgruntjspolymerweb-component

How do I build Polymer Element?


There is currently an open bug on running polymer build on elements: https://github.com/Polymer/polymer-cli/issues/338

Does anyone have some Grunt scripts (or description of what exactly it does) for accomplishing the same?


Solution

  • I ended up using the Yeoman generator from: https://github.com/seaneking/generator-polymer-element

    It has a very nice list of features set up in the Gulp build system. The build system includes Babel ES6 transpiling, Rollup, PostCSS, inline asset processing, and BrowserSync.