-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Use plain js to do the pre/postpublish for the polyfill #3694
Conversation
e95ea08
to
56eb8d2
Compare
Current coverage is 88.32% (diff: 100%)@@ master #3694 diff @@
==========================================
Files 194 194
Lines 13611 13611
Methods 1427 1427
Messages 0 0
Branches 3142 3142
==========================================
Hits 12022 12022
Misses 1589 1589
Partials 0 0
|
Actually I'm not even sure where that gets run? https://github.com/babel/babel/blob/master/Makefile#L12 just calls the other script Also it doesn't seem like we clear it correctly. |
I'm not entirely sure if it is working, but I think lerna is calling it: https://github.com/lerna/lerna/blob/1cd6366f60e6a7f180b5490c9c5b1b6688bc9e66/src/commands/PublishCommand.js#L343 |
What do you mean with "we don't clear it correctly"? |
Ok I thought we remove rm -rf dist/polyfill.js as well in the clean task
|
Ah okay, I'm not sure if we should do that on postpublish in babel-polyfill... |
* Use plain js to do the pre/postpublish for the polyfill * remove dist on clean [skip ci]
We only use shelljs for these two scripts, so it is not really necessary I think.