A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/start-runner/uglify below:

start-runner/uglify: :symbols: UglifyJS task for Start

UglifyJS task for Start.

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)


RetroSearch 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