Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.
panudetjtPublic archive

About

uglify wrapper for laravel elixir

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Deprecated, Please use mix.script official plugin.

laravel-elixir-uglify

uglify wrapper for laravel elixir

Installation

npm install laravel-elixir-uglify --save-dev

Usage

var elixir = require('laravel-elixir');
require('laravel-elixir-uglify');

elixir(function(mix) {
    mix.uglify();
});

By default mix.uglify() is going to search every .js file in public/js then minify it and rename with .min.js extension

Default

mix.uglify(['**/*.js', '!**/*.min.js'], 'public/js', {
	mangle: true,
	suffix: '.min.js'
});

suffix
type: string|boolean
description: if suffix set to be false it will overwrite original file

If you want another options please see gulp-uglify

For license see LICENSE file

About

uglify wrapper for laravel elixir

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages