uglifyify - A browserify transform which minifies your code using UglifyJS2

  •        74

A Browserify v2 transform which minifies your code using uglify-es.But uglifyify is able to yield smaller output by processing files individually instead of just the entire bundle. When using uglifyify you should generally also use Uglify, to achieve the smallest output. Uglifyify provides an additional optimization when used with Uglify, but does not provide all of the optimization that using Uglify on its own does, so it's not a replacement.

https://github.com/hughsk/uglifyify

Dependencies:

convert-source-map : ~1.1.0
extend : ^1.2.1
minimatch : ^3.0.2
through : ~2.3.4
uglify-es : ^3.0.15

Tags
Implementation
License
Platform

   




Related Projects

envify - :wrench: Selectively replace Node-style environment variables with plain strings.

  •    Javascript

Selectively replace Node-style environment variables with plain strings. Available as a standalone CLI tool and a Browserify v2 transform.Works best in combination with uglifyify.

uglifyjs-webpack-plugin - UglifyJS Plugin

  •    Javascript

If you use your own minify function please read the minify section for cache invalidation correctly. Enable file caching. Default path to cache directory: node_modules/.cache/uglifyjs-webpack-plugin.

npm-build-boilerplate - A collection of packages that build a website using npm scripts.

  •    Javascript

A collection of packages that build a website using npm scripts. autoprefixer, browser-sync, eslint, imagemin-cli, node-sass, onchange, npm-run-all, postcss-cli, svgo, svg-sprite-generator, uglify-js.

The-cost-of-transpiling-es2015-in-2016 - Investigating the overhead cost of compiled es2015

  •    Javascript

There are a lot of tools to compile es2015 to es5. When choosing your compile stack you should be aware that tools that perform tree shaking and topological sorts of your code dependencies will result in smaller code bundles and faster js execution times. With the recent es2015 boom 2016 javascript developers have a myriad of combinatorial choices when it comes to writing es2015 and compiling that code to es5 or lower. From closure compiler to browserify to uglify to webpack it is hard to know what is the best for compiling es2015 to run in browsers today.

prop-types - Custom React PropType validators that we use at Airbnb.

  •    Javascript

Custom React PropType validators that we use at Airbnb. Use of airbnb-js-shims or the equivalent is recommended.Since PropTypes are typically not included in production builds of React, this library’s functionality serves no useful purpose. As such, when the NODE_ENV environment variable is "production", instead of exporting the implementations of all these prop types, we export mock functions - in other words, something that ensures that no exceptions are thrown, but does no validation. When environment variables are inlined (via a browserify transform or webpack plugin), then tools like webpack or uglify are able to determine that only the mocks will be imported - and can avoid including the entire implementations in the final bundle that is sent to the browser. This allows for a much smaller ultimate file size, and faster in-browser performance, without sacrificing the benefits of PropTypes themselves.


debowerify - A browserify transform to enable the easy use of bower components in browserify client javascript projects

  •    Javascript

A browserify transform to enable the easy use of bower components in browserify client javascript projects. This can be used in conjunction with deamdify to require AMD components from bower as well.

gulp-clean-css - Minify css with clean-css.

  •    Javascript

This is just a simple gulp plugin, which means it's nothing more than a thin wrapper around clean-css. If it looks like you are having CSS related issues, please contact clean-css. Only create a new issue if it looks like you're having a problem with the plugin itself. See the CleanCSS options.

browserify-shim - 📩 Makes CommonJS incompatible files browserifyable.

  •    Javascript

For a version compatible with browserify@1.x run npm install browserify-shim@1.x instead. For a version compatible with the v2 API npm install browserify-shim@2.x instead.

react-transform-hmr - A React Transform that enables hot reloading React classes using Hot Module Replacement API

  •    Javascript

React Hot Loader 3 is on the horizon, and you can try it today (boilerplate branch, upgrade example). It fixes some long-standing issues with both React Hot Loader and React Transform, and is intended as a replacement for both. The docs are not there yet, but they will be added before the final release. For now, this commit is a good reference. A React Transform that enables hot reloading React classes using Hot Module Replacement API. Hot module replacement is supported natively by Webpack and available in Browserify with browserify-hmr.

grunt-contrib-uglify - Minify files with UglifyJS.

  •    Javascript

Run this task with the grunt uglify command. Task targets, files and options may be specified according to the grunt Configuring tasks guide.

vinyl-source-stream - :cyclone: Use conventional text streams at the start of your gulp or vinyl pipelines

  •    Javascript

Use conventional text streams at the start of your gulp or vinyl pipelines, making for nicer interoperability with the existing npm stream ecosystem.Take, for example, browserify. There are the gulp-browserify and gulpify plugins, which you can use in combination with gulp to get browserify working in your build. Unfortunately, these plugins come with additional overhead: an extra GitHub repository, npm module, maintainer, tests, semantics, etc. It's much simpler in this case to use the original module directly where you can, which is what vinyl-source-stream handles for you.

gulp-uglify - Minify files with UglifyJS

  •    Javascript

Minify JavaScript with UglifyJS3. To help properly handle error conditions with Node streams, this project recommends the use of pump. For more information, see Why Use Pump?.

vueify - Browserify transform for single-file Vue components

  •    Javascript

Vue component transform for Browserify

rollupify - Browserify transform to apply Rollup

  •    Javascript

Browserify transform to apply Rollup, converting ES6/ES2015 modules into one big CommonJS module. This tends to result in smaller bundle sizes, due to Rollup's tree-shaking and scope-hoisting capabilities.

css-modulesify - A browserify plugin to load CSS Modules

  •    Javascript

A browserify plugin to load CSS Modules. Please note that this is still highly experimental.

exorcist - Externalizes the source map found inside a stream to an external .js.map file

  •    Javascript

Externalizes the source map found inside a stream to an external .map file or stream. Works with both JavaScript and CSS input streams.

imagemin-cli - Minify images

  •    Javascript

Issues with the output should be reported on the imagemin issue tracker.

gulp-imagemin - Minify PNG, JPEG, GIF and SVG images

  •    Javascript

Issues with the output should be reported on the imagemin issue tracker.🦄 Support my open-source work by buying this awesome video course: Learn to build apps and APIs with Node.js by Wes Bos Try his free JavaScript 30 course for a taste of what to expect & check out his ES6, React, Sublime courses.

grunt-contrib-htmlmin - Minify HTML.

  •    Javascript

Run this task with the grunt htmlmin command. Issues with the output should be reported on the htmlmin issue tracker.