gensync
gensync copied to clipboard
fix #26, modernize pkg config
This PR provides:
- Fix to a modern use of
require()
, which doesn't fail onnode@>=10.24
. - I noticed from the flowconfig that it only defines index.js as the single file of code needed for the module. This same construct is available via files directive in
package.json
. - The previous alternative to the files directive is the definition of
.npmignore
. I updated this to solve the issue in casefiles
directive is not desired. The do not conflict with each other andfiles
array takes precedence.
Resolves #26
@loganfsmyth, any thoughts?