0.9.9 • Published 10 years ago

grunt-closurecompiler v0.9.9

Weekly downloads
56
License
-
Repository
github
Last release
10 years ago

The ClosureCompiler.js Grunt Task Build Status

Yet simple, but powerful. Available through npm.

Usage

grunt.initConfig({
    closurecompiler: {
        minify: {
            files: {
                // Destination: Sources...
                "Gruntfile.min.js": [__filename]
            },
            options: {
                // Any options supported by Closure Compiler, for example:
                "compilation_level": "SIMPLE_OPTIMIZATIONS"
            }
        }
    },
});

grunt.registerTask('minify', ['closurecompiler:minify']);

Run it: grunt minify

See also: Gruntfile.js

Works like any other Grunt plugin/task. See the ClosureCompiler.js project for detailed information on available options and the Grunt website for everything Grunt.

License

Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.html

0.9.9

10 years ago

0.9.8

10 years ago

0.9.7

10 years ago

0.9.6

11 years ago

0.9.5

11 years ago

0.9.4

11 years ago

0.9.3

11 years ago

0.9.2

11 years ago

0.9.1

11 years ago

0.9.0

11 years ago