File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ exports.config = {
1010 files : {
1111 stylesheets : {
1212 joinTo : {
13- 'autocomplete.css' : / ^ s r c \/ * . { css,less } /
13+ 'autocomplete.css' : / ^ s r c /
1414 }
1515 } ,
1616 javascripts : {
1717 joinTo : {
18- 'autocomplete.js' : / ^ s r c \/ * . t s $ /
18+ 'autocomplete.js' : / ^ s r c /
1919 }
20- } ,
20+ }
2121 } ,
2222 plugins : {
23- uglify : {
24- mangle : true
23+ brunchTypescript : {
24+ tscOption : "--removeComments"
2525 }
2626 }
2727} ;
Original file line number Diff line number Diff line change 66 "dependencies" : {
77 "brunch" : " 1.8.*" ,
88 "brunch-typescript" : " 1.6.*" ,
9- "uglify-js- brunch" : " 1.7 .*" ,
10- "less-brunch " : " 1.8 .*"
9+ "less- brunch" : " 1.8 .*" ,
10+ "uglify-js " : " 2.6 .*"
1111 },
1212 "scripts" : {
13- "dev " : " brunch build" ,
14- "prod " : " brunch build -P " ,
13+ "build " : " brunch build" ,
14+ "compress " : " uglifyjs --compress --mangle --output dist/autocomplete.min.js -- dist/autocomplete.js " ,
1515 "watch" : " brunch watch"
1616 }
1717}
You can’t perform that action at this time.
0 commit comments