-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add module field #5594
Add module field #5594
Conversation
https://unpkg.com/@polymer/[email protected]?module fails to load saying that the package is not an ES module. Adding `module` field should allow it to load (see: https://github.com/mjackson/unpkg/blob/4bb6cf424a6f7e803fc98c13662ee4d04bfe4af2/modules/middleware/validateFilename.js#L7)
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.
Good catch. Can you update the CHANGELOG?
@azakus @kevinpschaaf how do we maintain the CHANGELOG in Polymer? Is it generated or updated by hand? |
Yeah, the changelog in the polymer repro predates when we made changelogs per PR; we run a script at release time to gather the commit log. |
If the changelog is updated automatically, can we merge this PR in? |
Ping. It seems that the CHANGELOG update is not a blocker to merge this. Once merged, when is it expected to be published to npm? |
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.
LGTM, confirmed this is already what we do in LitElement
https://unpkg.com/@polymer/[email protected]?module fails to load saying that the package is not an ES module. Adding
module
field should allow it to load (see: https://github.com/mjackson/unpkg/blob/4bb6cf424a6f7e803fc98c13662ee4d04bfe4af2/modules/middleware/validateFilename.js#L7)