Published on January 4, 2017 by Chrome

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/tree/master/ep60-firebase-build

polymer-build: github.com/Polymer/polymer-build

Polycasts playlist: goo.gl/r5fsMq
Polymer Slack: bit.ly/polymerslack
Polymer G+: plus.google.com/communities/115626364525706131031

Subscribe to the Chrome Developers channel: goo.gl/OUF4e2

Leave a Reply

20 Comments on "Building Firebase for production — Polycasts #60"

Notify of
avatar

Alex Goodwin
Guest
Alex Goodwin
19 days 12 hours ago

Awesome!

JoséAntonio Campillo
Guest
JoséAntonio Campillo
25 days 22 hours ago

Why can't i vulcanize for polyfire app?? thanks so much

pullModel
Guest
pullModel
28 days 10 hours ago

If I am keeping my facts straight, then Firebase now supports HTTP 2 which I believe that I have read is better with unbundled builds than bundled? But this polycast is about how to bundle? Am I getting one of my facts wrong?

Ashwin Ashok
Guest
Ashwin Ashok
1 month 1 day ago

Rob, ever considered modelling? nice tutorial though.

phani1 kumar
Guest
phani1 kumar
1 month 12 days ago

Thank you very uch Rob for the polycasts. #AskPolymer Can you please come with a polycast for localization using app-localize behavior? I've a very specific question here: can I dynamically load language specific resource bundles when the user changes the language of preference? I don't want to load all the translations at once, because if the user is interested in French, I don't want to download all other language variants of all my messages. This would hit badly on performance/ bandwidth. Thanks in advance.

Denis TRUFFAUT
Guest
Denis TRUFFAUT
1 month 16 days ago

As always, great video !

Atomiko Lex
Guest
Atomiko Lex
1 month 16 days ago

so helpful, thank you!

Wolfgang Tober
Guest
Wolfgang Tober
1 month 17 days ago

Nice helpfull videos! I miss an example of the unbundled build prozess. Can you supplement that?

Daniel Gherard
Guest
Daniel Gherard
1 month 17 days ago

Nice. I would love to see more of gulpfile with polymer in future polycasts. It's a rather useful file.Anyway… thanks for the tips!!

test
Guest
test
1 month 17 days ago

When is the final release date of polymer 2.0

Jan Beneš
Guest
Jan Beneš
1 month 15 days ago
wpDiscuz