esnext / es6-module-transpiler

Tomorrow’s JavaScript module syntax today
http://esnext.github.io/es6-module-transpiler/
Other
1.21k stars 85 forks source link

Add `src` property to Module for control over I/O #149

Closed ericf closed 10 years ago

ericf commented 10 years ago

This splits apart reading in the module src code from parsing it into an AST. By adding a src property to Module instances, there's now a hook to control file I/O — for instance to cache the src of unchanged modules between re-builds.

caridy commented 10 years ago

:100:

ericf commented 10 years ago

@eventualbuddha thanks for merging this. If you don't mind, it would be great to get this out in a v0.6.1 release.

eventualbuddha commented 10 years ago

@ericf done.

ericf commented 10 years ago

Thanks!