Merge pull request #1050 from mpietrzak/master

Fix parameter order for uglifyjs.
This commit is contained in:
Greg Weber 2015-08-02 09:28:58 -07:00
commit 0bab753ada

View File

@ -169,7 +169,7 @@ jasmine ct = return $ either (const ct) id $ minifym ct
-- to both mangle and compress and the option \"-\" to cause uglifyjs to read from
-- standard input.
uglifyJs :: BL.ByteString -> IO BL.ByteString
uglifyJs = compressTool "uglifyjs" ["-m", "-c", "-"]
uglifyJs = compressTool "uglifyjs" ["-", "-m", "-c"]
-- | Use <http://yui.github.io/yuicompressor/ YUI Compressor> to compress javascript.
-- Assumes a script @yuicompressor@ is located in the path. If not, you can still