2 ms·
I use knockout.js too and I had a look at your code: although you seem to follow a lot of best practices, I noticed your code is not minified. Any reason why?
by aymeric 14y ago
I use knockout.js too and I had a look at your code: although you seem to follow a lot of best practices, I noticed your code is not minified. Any reason why?
- pbiggar 14y agoAh, yes. We use a dieter [1] for our asset pipeline, and it supports minification using Google closure compiler. Unfortunately, this breaks Twitter Bootstrap. I did some measurement and I think we can save 19% through minification using uglify (once you included gzipping). That means its not currently worth the few hours of making it work and verifying that it doesn't break anything (versus other ways we can spend our time). Probably. [1] https://github.com/edgecase/dieter https://github.com/edgecase/dieter