Google Chrome Developers766 тыс
Опубликовано 4 января 2017, 21:53
It's time to wrap up our series on Firebase and Polymer. In today's episode we'll look at how you can use the polymer-build library to craft a Gulpfile to bundle your Polymer and Firebase resources for production. polymer-build is a really helpful little resource that will take your HTML Imports and split them into individual streams for your CSS, HTML, and JavaScript. You can then pipe these streams to individual gulp tasks to do minification, etc. then use polymer-build to recombine the streams and output the final product.
Sample Code: github.com/Polymer/polycasts/t...
polymer-build: github.com/Polymer/polymer-bui...
Polycasts playlist: goo.gl/r5fsMq
Polymer Slack: bit.ly/polymerslack
Subscribe to the Chrome Developers channel: goo.gl/OUF4e2
Sample Code: github.com/Polymer/polycasts/t...
polymer-build: github.com/Polymer/polymer-bui...
Polycasts playlist: goo.gl/r5fsMq
Polymer Slack: bit.ly/polymerslack
Subscribe to the Chrome Developers channel: goo.gl/OUF4e2