jspm / npm

NPM Location Service
19 stars 34 forks source link

Allow builtin detection for ES6 #53

Closed guybedford closed 9 years ago

guybedford commented 9 years ago

import {readFile} from 'fs' should ideally work without fs needing to be an explicit dependency.

Similarly for the Buffer and process global shims, and resolution system.

The assumption is that the above is what ES6 will look like in Node eventually anyway.

guybedford commented 9 years ago

This is making assumptions about how Node itself will handle ES6, which is not our place to do.