Changes
New features
- Option for toggling node environment in bundle: #40, #41 (thanks @hmil)
- Support for
module.exports.default
: #42, #54 (thanks @Bjeaurn, @sir-marc) - Support for
module.id
andmodule.uri
: #47 (thanks @fchiumeo) - Support for requiring files without
module.exports
: #54 (thanks @sir-marc) - Improved and restructured documentation: #50, #52 (big thanks to @moshmage)
- Experimental! Rudimentary support for dynamic require, ie require('a' + 'b'): #53 (thanks @moshmage)
- Option for replacing modules with a stub in the bundle: #53 (thanks @moshmage)
- Report destination options with directory and filename, #56, #61 (thanks @muthuramj, @Ritzlgrmft)
- Support for running bundle in browser (window) or Node (global): #57 (thanks @magar91)
- Custom extensions and directories for resolving modules: #57 (thanks @magar91)
Bugfixes
- Importing interfaces from typings files: #42 (thanks @Bjeaurn)
- Running
karma run
: #58 (thanks @segrey) - Proper detection of typings files for Typescript older than 2.0: #48 (thanks @kylestlb)
- Requiring JSON from a node_modules module: #57 (thanks @magar91)
Deprecated
karmaTypescriptConfig.bundlerOptions.ignoredModuleNames
has been moved tokarmaTypescriptConfig.bundlerOptions.exclude
karmaTypescriptConfig.excludeFromCoverage
has been moved tokarmaTypescriptConfig.coverageOptions.exclude
karmaTypescriptConfig.disableCodeCoverageInstrumentation
has been moved tokarmaTypescriptConfig.coverageOptions.instrumentation