MaxCDN / osscdn

Free CDN by MaxCDN

Home Page:http://www.osscdn.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Properly solve minification issue

XhmikosR opened this issue · comments

Apparently df07e97 doesn't fix the issue.

The fact is that with mangle disabled the size for modules.js is doubled. So we definitely need to enable mangle.

Now to work around the issue. I have a local patch which works but the following overwrites my changes

Running "uglify:scripts" (uglify) task
File "dist/scripts/scripts.js" created.
Original: 2911 bytes.
Minified: 1753 bytes.

Running "uglify:generated" (uglify) task
File "dist\scripts\modules.js" created.
Original: 858657 bytes.
Minified: 135212 bytes.
File "dist\scripts\scripts.js" created.
Original: 2617 bytes.
Minified: 1230 bytes.

@bebraw: do you know how we can solve this?

OK, I fixed it.