Skip to content

Commit

Permalink
Revert "Removed redundant uglification"
Browse files Browse the repository at this point in the history
This reverts commit 86373d9.
  • Loading branch information
benjamn committed Feb 4, 2014
1 parent 806e879 commit e994e06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions grunt/config/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ var deamdify = require('deamdify');
var envify = require('envify/custom');
var grunt = require('grunt');
var UglifyJS = require('uglify-js');
var uglifyify = require('uglifyify');
var _ = require('lodash');

var SIMPLE_TEMPLATE =
Expand Down Expand Up @@ -69,7 +70,7 @@ var basic = {
var min = _.merge({}, basic, {
outfile: './build/react.min.js',
debug: false,
transforms: [envify({NODE_ENV: 'production'})],
transforms: [envify({NODE_ENV: 'production'}), uglifyify],
after: [minify, bannerify]
});

Expand Down Expand Up @@ -99,7 +100,7 @@ var addons = {
var addonsMin = _.merge({}, addons, {
outfile: './build/react-with-addons.min.js',
debug: false,
transforms: [envify({NODE_ENV: 'production'})],
transforms: [envify({NODE_ENV: 'production'}), uglifyify],
after: [minify, bannerify]
});

Expand Down

0 comments on commit e994e06

Please sign in to comment.