-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't output another import from multiple imports #1779
Comments
I guess you are talking about bundles. I'm also preparing multiple bundles in my app:
Indeed each bundle produced by vulcanize is wrapped into |
Technically all HTML Imports have an implicit I don't bother removing this structure from vulcanize because it makes tooling easier. As the the actual point of your issue, the 90+% use case of vulcanize is to create a zero-import page that is all inlined. If you want to make an "everything" import that is linked to from your There is a medium-term goal for creating some sort of bundles that may be what you're looking for, but I'm just getting started on that. |
+1 for bundling - I have a use case where a bundle is only loaded if the user has the appropriate 'role/rights/auth' so this feature would be really useful for me. @antonmoiseev, just so that I understand this correctly, do your non-polymer bundles reference any Polymer elements and if so how do you exclude them so that there is not an overlap (or duplication of bundled elements) with other bundles? [Edit] The app runs in a closed network for public sector so there is no external access to the internet as such all resources need to be bundled. |
it seem possible via gulp |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
So this is something I just ran into. I have my Polymer library contained within a bower_components folder in my projects root directory. I also have some of my own web components defined in a src folder. What I want to be able to do is vulcanize Polymer and it's imports (
polymer-mini.html
andpolymer-micro.html
) into a single import-able file. I then have another fileimports.html
that manages all my own template.html
files, which itself importspolymer.html
. However the problem is that I want to create one file that can be imported and then used by all my client side pages, however vulcanize treats all output as a final viewable HTML page, and does not have an option for creating imports from imports. This means all output from vulcanize is wrapped with the standard<html><head>...</body></html>
and cannot then be re-imported. I think there needs to be an option for just combining imports into a singular import, and not presuming that the output will always be the final front facing page.The text was updated successfully, but these errors were encountered: