1.0.0 • Published 10 years ago
karma-commonjs-amd v1.0.0
karma-commonjs-amd
a karma preprocessor which preprocesses commonjs modules, converting them to amd
Usage
in karma.conf, simply add a preprocessor declaration pointing to commonjs modules you want to preprocess
preprocessors: {
'./path/to/commonjs/module/**/*.js': ['commonjsamd']
}
you can now require them in along with other requirejs modules! : D
1.0.0
10 years ago