How to use the google-closure-compiler.compiler.COMPILER_PATH function in google-closure-compiler

To help you get started, we’ve selected a few google-closure-compiler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github entrylabs / entryjs / Gruntfile.js View on Github external
'node_modules/jquery/jquery.js',
                    'node_modules/createjs-easeljs/lib/easeljs-0.8.2.min.js',
                    'node_modules/createjs-soundjs/lib/soundjs-0.6.2.min.js',
                    'node_modules/createjs-preloadjs/lib/preloadjs-0.6.2.min.js',
                    'dist/entry.js',
                    'src/workspace/block_entry.js',
                ],
            },
            unit: {
                configFile: 'karma.conf.js',
                files: [{ src: ['test/**/*.js'] }],
            },
        },
        closureCompiler: {
            options: {
                compilerFile: ClosureCompiler.COMPILER_PATH,
                checkModified: true,
                compilerOpts: {
                    create_source_map: 'entry.js.map',
                    compilation_level: 'SIMPLE_OPTIMIZATIONS',
                    language_in: 'ECMASCRIPT5',
                    language_out: 'ECMASCRIPT5',
                    formatting: 'pretty_print',
                },
            },
            targetName: {
                src: ['src/entry.js', 'src/**/*.js', '!src/workspace/block_entry.js'],
                dest: 'dist/entry.js',
            },
            dist: {
                options: {
                    compilerOpts: {