polymer-dart / polymerize

Other
29 stars 3 forks source link

Automatically rewrite index.html entrypoint #7

Closed ErikGrimes closed 7 years ago

ErikGrimes commented 7 years ago

Currently, you have to know what what bazel is generating in order to setup the entrypoint. IT would be nice if polymerize would transform your main entrypoint import automatically. So that

    <link rel='import' href="todo_main/todo_main.html" rel="import">

becomes

    <link rel='import' href="todo_main/todo_main.mod.html" rel="import">
dam0vm3nt commented 7 years ago

IronMeta is an strange element because it also defines the JS class Polymer.IronMeta. So there was a name clash. Had to map <iron-meta> with another JS class : Polymer.IronMetaElement.

ErikGrimes commented 7 years ago

Did you mean to close this?

dam0vm3nt commented 7 years ago

Ops, wrong ref on commit. Sorry

dam0vm3nt commented 7 years ago

polymerize now uses pub+ddc. then entry point follows the dart standard guidelines (application/dart script tag).