polymer-dart / polymerize

Other
29 stars 3 forks source link

Wrong element name in package.mod.html #8

Closed andrey-zakharov closed 7 years ago

andrey-zakharov commented 7 years ago

I have created sample project with following simple structure:

lib/
lib/components/
lib/components/my_tag.html
lib/components/my_tag.dart
web/index.html
BUILD
pubspec.yaml

and other supplementary stuff.

Issue, that polymerize (bazel maybe) generated package.js with

  return {
    components__my_tag: components__my_tag,
    main: main
  };

while in package.mod.html its referenced as:

  polymerize.register(pkg.my_tag.MyTag,'my-tag',{

while inspecting pkg in debug, I could see pkg.components__my_tag member. So I've assume that package.mod.html has wrong component name in it.

dam0vm3nt commented 7 years ago

new release should solve that (no more .mod.html files though).