Skip to content
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

Add support for element projects #1246

Closed
43081j opened this issue Feb 20, 2017 · 3 comments
Closed

Add support for element projects #1246

43081j opened this issue Feb 20, 2017 · 3 comments

Comments

@43081j
Copy link
Contributor

43081j commented Feb 20, 2017

Description

We should add support for element projects. The docs and this project are heavily tied into "app" projects (hence "shell" and such in the config).

Example use case:

If i have a small library of elements which are all written in typescript (especially appropriate for polymer 2.x), i'll need a build process somewhere to transpile them and lint them.

How?

We should be able to have polymer-build in our gulpfile, which does the same splitting as with an app project.

The difference being, we have no entrypoint or shell and likely need no bundling strategy or service worker, but rather just output the single files as they were in the source. Although, we should probably allow for a bundled version too.

@brettpostin
Copy link

+1 for this.

Background Scenario

We have an internal suite of elements that are developed, tested and showcased within an internal gallery app project. Currently we build and deploy three element bundles from this project. We package them into a "core" element bundle, and two other "extension" bundles that can then be pulled into various other projects. Therefore we do not have an entrypoint or shell.

Problem

We have just upgraded this app to Polymer 2, and would like to upgrade the build tooling too. I have looked through the documentation and source, and cannot see a way to achieve the same bundling approach we currently have using vulcanize. It seems heavily focused around the PolymerProject concept which I don't think fits our existing use case. We also use Gulp, which too has a lack of documented guidance.

Any help or clarification would be welcome.

@aomarks aomarks transferred this issue from Polymer/polymer-build Jan 3, 2019
@stale
Copy link

stale bot commented Mar 4, 2020

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.

@stale stale bot added the wontfix label Mar 4, 2020
@stale
Copy link

stale bot commented May 2, 2022

This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen!

@stale stale bot closed this as completed May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants