Vulcanized not include all dependencies

60 views
Skip to first unread message

Renie Siqueira da Silva

unread,
Jan 28, 2015, 6:39:11 AM1/28/15
to polym...@googlegroups.com
Hello,

I'm trying to understand what exactly Vulcanize do. 

For what I understood, it creates som build files including all components I used and it's imports as well. But I realize that some files are being requested apart like "polymer-gestures" sources, "components/polymer-focusable/polymer-mixin.js" and "components/core-focusable/core-focusable.js" (img attached).

After some search I realize that at least polymer-gestures sources, inside 'components/polumer-gestures/polymer-gestures.html', are included via <script src="file"/> instead of <link import="file"/> (Polymer Gestures and Core-overlay for comparing).


Is that related in any way? Is there anything I can do to get every single dependencies in one file?



872ff1e8b6e9d81461c5e178e388b5f5.png

Eric Bidelman

unread,
Jan 28, 2015, 1:36:44 PM1/28/15
to Renie Siqueira da Silva, polym...@googlegroups.com
If you run vulcanize with the --inline flag, it will pull the .js files into your vulcanized html import. That'll save you those requests. 

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/ea5c9b41-088d-4ec0-8840-8d39b9ab960c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Renie Siqueira da Silva

unread,
Jan 28, 2015, 2:01:56 PM1/28/15
to polym...@googlegroups.com, cadeo...@gmail.com
Great! It works, thank you very much.


I had understood the concept of 'inline' wrong. 


Sorry for taking your time.
Reply all
Reply to author
Forward
0 new messages