npm install --save-dev start-uglify # or yarn add --dev start-uglify
import start from 'start'; import reporter from 'start-pretty-reporter'; import files from 'start-files'; import clean from 'start-clean'; import read from 'start-read'; import babel from 'start-babel'; import rename from 'start-rename'; import uglify from 'start-uglify'; import write from 'start-write'; export const build = () => start(reporter())( files('build/'), clean(), files('lib/**/*.js'), read(), babel({ sourceMaps: true }), write('build/'), rename(file => file.replace(/\.js$/, '.min.js')), uglify({ outSourceMap: true }), write('build/') );
This task relies on [{ path, data, map }]
input and provides the same, see documentation for details.
uglify(options)
options
– UglifyJS optionsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4