Closed guybedford closed 9 years ago
import {readFile} from 'fs' should ideally work without fs needing to be an explicit dependency.
import {readFile} from 'fs'
fs
Similarly for the Buffer and process global shims, and resolution system.
Buffer
process
The assumption is that the above is what ES6 will look like in Node eventually anyway.
This is making assumptions about how Node itself will handle ES6, which is not our place to do.
import {readFile} from 'fs'
should ideally work withoutfs
needing to be an explicit dependency.Similarly for the
Buffer
andprocess
global shims, and resolution system.The assumption is that the above is what ES6 will look like in Node eventually anyway.