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

Polymer 3.0 support? #37

Closed
kkimdev opened this issue Jan 27, 2018 · 6 comments
Closed

Polymer 3.0 support? #37

kkimdev opened this issue Jan 27, 2018 · 6 comments

Comments

@kkimdev
Copy link

kkimdev commented Jan 27, 2018

https://www.polymer-project.org/blog/2017-08-23-hands-on-30-preview

@warpech warpech added this to the Juicy elements support milestone Apr 7, 2018
@lastmjs
Copy link

lastmjs commented Apr 21, 2018

Polymer 3 support should only require moving to ES Modules as far as I understand it. What can we do to get the move to ES Modules moving?

@kkimdev
Copy link
Author

kkimdev commented Apr 21, 2018

I think we should try auto converter https://github.com/Polymer/polymer-modulizer

It looks like paper elements maintain 2.0 source code and auto-generate 3.0. See https://github.com/PolymerElements/paper-button/ branch named 3.0 __auto_generated_3.0_preview .

Though, I think it's good to wait official 3.0 launch (supposed to be very soon, my guess is upcoming Google IO in May) and follow their official guideline for maintaining elements for all 1.0, 2.0, and 3.0.

@lastmjs
Copy link

lastmjs commented Apr 21, 2018

This project doesn't use Polymer, except as a Bower dev dependency. The element itself is a vanilla HTMLElement.

@kkimdev
Copy link
Author

kkimdev commented Apr 21, 2018

Oh I see, I didn't know that. Anyways, I tried polymer-modulizer and here is the result (the tool doesn't assume Polymer) https://gist.github.com/kkimdev/20ee9a5a9655bb4909454534beaf59f6

Seems very straightfoward other than we also need to handle ace-builds.

@lastmjs
Copy link

lastmjs commented May 2, 2018

This issue and this issue are accomplishing the same thing

@kkimdev
Copy link
Author

kkimdev commented Mar 25, 2019

Closing in favor of #39

@kkimdev kkimdev closed this as completed Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants