Open aelbore opened 6 years ago
@aelbore — What would be the benefit from a user's perspective? I'm guessing some people still use node v6. What would be the benefit of forcing them to use node v8? Thanks in advance!
@jvandemo i notice that your using promisify to make the fs.readfile to promise, and also since node v8 is the LTS version in a few months theres no support for v6. async/await to make code shorter.
@jvandemo by the way i got lightweight cli to bundle angular as a package. you might consider this also.
https://github.com/ngx-devtools/cli
or just npm install -g @ngx-devtools/cli
then ngx run bundle
thanks.
I wouldn't see any problems about dropping the support for node v6
@aelbore — Would you be interested in creating a PR to update the code to node v8? Thanks!
@jvandemo sure will create a PR :)
since 8.x is the LTS version for node, why not change the promisify function to require('util').promisify