Question - should import {fs} from 'fs'
be supported for CommonJS module loading from ES6?
If it is to be supported, we would effectively define the fs
module object in the ES6 registry to look something like the following:
var fs = require('fs');
var _fs = {};
Object.keys(fs).forEach((p) => _fs[p] = fs[p]);
_fs.default = fs;