这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@robdodson
Copy link
Collaborator

Depends on #72.

This removes/ignores the dist folder and adds a note to the README that tells devs to only use a version of the polyfill that has been published to npm. This is to prevent noise on our PRs (which always require rebuilding dist) and because we don't keep a stable master branch so using the source directly may lead to breakages.

Adds a prepublishOnly hook to the package.json to always run our tests and create a build before npm publish completes.

Updates the demo to use unpkg so the hosted page always runs the latest polyfill on npm. Also includes polyfill.io link in the demo to polyfill classList in old IE.

@robdodson robdodson requested a review from alice November 15, 2017 21:27

_We recommend only using versions of the polyfill that have been published to npm, rather than
cloning the repo and using the source directly. This helps ensure the version you're using is stable
and thoroughly tested. If you do want to build from source, make sure you clone the latest tag._
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: newline before "If"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to add that after this change cuz I'm scared to touch this wonky rebase again :D

@robdodson robdodson merged commit e4d473a into master Nov 16, 2017
@robdodson robdodson deleted the remove-dist branch February 7, 2018 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants