Closed dima-takoy-zz closed 5 years ago
Should I create another PR where I update dependencies?
Can I update those inside this PR?
Can I update those inside this PR?
Definitely!
After those changes, I think we can rewrite sources to async-await syntax. It will be compiled to promises by babel then we just change target version to 8 ;)
I already have a branch with refactored this package to async-await syntax. Should I send a PR?
Sounds good! I assume it will also work for the tests via babel-register?
Sounds good! I assume it will also work for the tests via babel-register?
I think yes. It already works with it.
current mocha opts(with this PR):
--require @babel/register
SHould I add refactored to async-await version to this PR?
SHould I add refactored to async-await version to this PR?
Sure, sounds good, considering you already seem to have done the work. Just avoid utils/promisify
for the Node 6 compatibility.
I prefer to merge this PR as is. Then I add PR with refactored to async-await syntax.
This PR is a part of changesets described here https://github.com/rollup/rollup-plugin-node-resolve/pull/213#issuecomment-489497514