Skip to content

Commit cac5a42

Browse files
committed
added compress flag to minification script
1 parent 0a9fcd2 commit cac5a42

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
package-lock.json
33
flowCommon.min.js
4+
flowCommonWeb.min.js

minify.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
outputDir = "#{__dir__}"
77
filename = "flowcommon.min.js"
88

9-
abort unless system "cd #{flowCommonWebDir} && uglifyjs #{flowCommonWebFiles} --output #{outputDir}/#{filename}"
9+
abort unless system "cd #{flowCommonWebDir} && uglifyjs #{flowCommonWebFiles} --compress --output #{outputDir}/#{filename}"
1010

1111
puts "Successfully Minified FlowCommonWeb files!"
12-
13-
14-

0 commit comments

Comments
 (0)