panto-transformer-uglify

0.1.3 • Public • Published

panto-transformer-uglify

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

Uglify transformer for panto.

panto.loadTransformer('uglify');
 
panto.pick('**/*.js').read().uglify({
    parseOptions: {
        strict: true
    },
    compressOptions:{
 
    },
    ignoreError: true,
    isSlient: true
});

options

  • parserOptions: object, see here
  • compressorOptions: object, see here
  • generatorOptions: object, see here
  • ignoreError: boolean, if fail when error
  • isSlient: boolean, if log warnning message

Package Sidebar

Install

npm i panto-transformer-uglify

Weekly Downloads

3

Version

0.1.3

License

Apache-2.0

Last publish

Collaborators

  • yinyongcom666