- Now defaults to throwing an Error when a required module is not found, but
this behavior can be changed by setting
options.allowUnresolvedModules options.excludeNodeModulescan now be set totrueor to an Array containing modules to be excluded from the projectstats.unresolvedModulescontains information about modules that could not be found. Only relevant whenoptions.allowUnresolvedModulesistrue.
Almost a complete re-write of the original project.
- Supports streaming CommonJS modules to a Readable stream
- Supports bundling for the browser, Node.js, and others
- Added Promise support
- Dropped support for Node < 4
- Changed
optionsa bit (i.e.excludeNodeModulesinstead ofincludeNodeModules) - Added
options.extensionsandoptions.compilers(see README) - Changed format of
cb: nowcb(err, stats)wherestatsexposes files included / excluded in the project build - Now depends on NPM
resolvepackage - Fixed a few bugs
- Updated docs and added a bit more complexity to the test_project
It's old now, and I'm too lazy to fill in the changelog. :)