karma-typescript-preprocessor
Preprocessor to compile TypeScript on the fly.
Installation
npm install karma-typescript-preprocessor --save-dev
Configuration
The code below shows the sample configuration of the preprocessor.
// karma.conf.jsmodule { config;};
If you set the sourceMap
option to true
then the generated source map will be inlined as a data-uri.
All TypeScript compiler options are defined here.
For more information on Karma see the homepage.