Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to answer the questions here: #71 (comment)
And I think a lot of the information in the manifest is likely to be invalid once deployed to pages (modules won't exist if the page has been bundled), plus there is missing information that's only available when you know the package or have the package.json, like the package name and version.
I'd personally like to see examples of this working before making a recommendation to do this, and then I suspect we'd need a lot more detail on how to set this up so that it actually works. I don't think just referencing a manifest from an npm package is going to work very often.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the earlier discussion on the subject and seeing where the CEM is evolving, I too am starting to feel that this might not be an approach worth supporting. You make a great point in the fact that as the package gets deployed, it doesn't have the modules anymore as it most likely is bundled.
I remember the initial discussion for this was around the time people were thinking of ways to support CEM and discussions on how Web Component DevTools could utiize published CEM's. The approach WCDT went doesn't require published CEM's anymore, as it bundles the analyzer with itself, and trying to think of good usecases for these links to CEM on a HTML page, I can't really come up with any.
So I think this idea could be laid to rest and this PR and the linked issue could be closed for now.