Open lastmjs opened 6 years ago
Yes info on this would be useful.
We also have about 120 polymer 2 elements written the same way and are looking to migrate to polymer 3. I am about to write a converter from scratch as it appears that modulizer will not work for typescript.
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.
any news?
example:
https://github.com/plasma-umass/browsix/blob/04f0830088560f27d480cde3e37c28269375f59f/app/elements/browsix-terminal/browsix-terminal.ts
https://github.com/plasma-umass/browsix/blob/04f0830088560f27d480cde3e37c28269375f59f/app/elements/browsix-terminal/browsix-terminal.html
... using polymer-ts
which can be replaced by @polymer/decorators
(replace @component
with @customElement
decorator)
(@customElement
will call customElements.define
)
nit: this issue should be renamed to polymer-modulizer: typescript support
I have an entire codebase written in Polymer 2 and TypeScript. My html files look like this in source form:
Will I be able to use Polymer Modularizer to automatically upgrade to Polymer 3?