Nimble Pirate Monitor

    karma-commonjs-amd

    1.0.0 • Public • Published

    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

    Keywords

    none

    Install

    npm i karma-commonjs-amd

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • alz