panto-transformer-uglify
0.1.3 • Public • Published panto-transformer-uglify
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