pon-task-ccjs

1.9.0 • Public • Published

pon-task-ccjs

Build Status npm Version JS Standard

Pon task to run Closure Compiler

Installation

$ npm install pon-task-ccjs --save

Usage

'use strict'
 
const pon = require('pon')
const ccjs = require('pon-task-ccjs')
 
async function tryExample () {
  let run = pon({
    'production:cc': ccjs('public/bundle.js', 'public/bundle.cc.js')
  })
 
  run('production:cc')
}
 
tryExample()
 
 

Signatures

define(src, dest, options) -> function

Define task

Param type Description
src string Source file path
dest string Destination file path
options Object Optional settings
options.level string Compile level
options.memory string Java memory size

License

This software is released under the Apache-2.0 License.

Links

Readme

Keywords

Package Sidebar

Install

npm i pon-task-ccjs

Weekly Downloads

29

Version

1.9.0

License

Apache-2.0

Unpacked Size

23.2 kB

Total Files

25

Last publish

Collaborators

  • realglobe