From 06412d5f12a1f2723a262a5d71bdf81c65b0d62d Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 7 Apr 2016 01:20:26 -0700 Subject: [PATCH] Remove `Hash` use from Uglify options because it breaks it. --- lib/common/uglify.options.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/common/uglify.options.js b/lib/common/uglify.options.js index 469207fc5..a528c5f5f 100644 --- a/lib/common/uglify.options.js +++ b/lib/common/uglify.options.js @@ -1,11 +1,6 @@ 'use strict'; -var util = require('./util'), - Hash = util.Hash; - -/*----------------------------------------------------------------------------*/ - -module.exports = new Hash({ +module.exports = { 'compress': { 'pure_getters': true, 'unsafe': true, @@ -20,4 +15,4 @@ module.exports = new Hash({ 'comments': /^!|@cc_on|@license|@preserve/i, 'max_line_len': 500 } -}); +};