node package manager

grunt-jspm

grunt-jspm

Install

$ npm install --save-dev grunt-jspm

Usage

grunt.initConfig({
    // ... 
    jspm: {
        options: {
            sfx: true,
            minify: true,
            mangle: true
        },
        dist: {
            files: {
                "js/app.js": "build/js/app.js"
            }
        }
    }
    // ... 
});

Options

sfx

Default: true

Creates a single self-executing bundle for a module.

minify

Default: true

Use minification, defaults to true.

mangle

Default: true

Use mangling with minification, defaults to true

License

MIT © Small Hadron Collider