karma-requirejs-wrapper-preprocessor
v0.0.1
Published
Karma preprocessor that wraps script contents with a "require(){}" call. This is designed for use with karma-ng-html2js-preprocessor, by passing the output of that plugin into this one.
Downloads
441
Maintainers
Readme
karma-requirejs-wrapper-preprocessor
A Karma preprocessor module that can be used to wrap the contents of files with a 'require() {}' call. While it can technically be used in a standalone manner with any data files, this module has been primarily developed to wrap the result of the ng-html2js processor module, for projects that primarily use requirejs in conjuction with angularjs.