open-wc / custom-elements-manifest-deprecated

Custom Elements Manifest is a file format that describes custom elements in your project.
8 stars 4 forks source link

[core] dont re`visit` entire program in events #19

Closed thepassle closed 3 years ago

thepassle commented 3 years ago

Currently in handleEvents we go through the entire source program again with a visitor to find a reference to the used event. We should be able to handle this in the link phase instead, since the used event should either be in the imports or in the declarations for a module.