-
Notifications
You must be signed in to change notification settings - Fork 48
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
Polymer2 DomModule.prototype.modules is Empty #121
Comments
This is a bit outside of the loader but |
Hi Bryan, I really appreciate you taking the time to respond so quickly on this. I did take a look at the again I appreciate you taking the time to respond/point me in the right direction. The underlying dependencies are too large of a refactor to confirm if that is the issue definitively, but based on your response I suspect this to be the culprit. |
If you are using polymer 2 and a dependency is using polymer 3 that would cause the issue you are seeing. |
Thanks again Bryan for your help. I was able to confirm that by modifying the src in node_modules to remove all dependencies from the package class and return a hello world template from the render function of the class... the package was imported successfully and the template was rendered. Sorry for tying you up on this, but truly appreciate your help pinpointing the root issue. |
No worries, good luck! |
I have a business requirement to leverage
lit
NPM packages in a Polymer 2 application, we are purchasing an upgrade to Polymer 3 on the repo however, we have an immediate need to consume ourlit
npm packages in the current Polymer version.I am attempting to leverage
v2.0.3
in our current repo, have been successful in replicating the demo usingate-fns/format
but unfortunately, as soon as I import my custom NPM packageDomModule.prototype.modules
is empty and I receive the following.I apologize in advance for posting a
support
type item as an issue; this being the Polymer 2 version and the time-sensitive situation I am in, I was hoping someone here would be able to either point me in the right direction and or confirm that what I am attempting to accomplish may not be possible.Thank you in advance for any help.
The text was updated successfully, but these errors were encountered: