elixir-uglify

1.0.2 • Public • Published

elixir-uglify

Installation


$ npm install elixir-uglify

Usage


Require the extension and call it using mix.uglify(). It will output a new file with the extension '.min.js' as well as source maps.

var elixir = require('laravel-elixir');
require('elixir-uglify');
 
elixir(function(mix)
{
    mix.scriptsIn("public/js")
        .uglify(
            "public/js/all.js",  // File to uglify
            "public/js/" // Output path
        );
});

Run gulp.

$ gulp

Readme

Keywords

none

Package Sidebar

Install

npm i elixir-uglify

Weekly Downloads

4

Version

1.0.2

License

none

Last publish

Collaborators

  • larkinwhitaker