Rakefile is like Makefile - it has dependency management, while npm run scripts do not. Aside from that, this also allows us to drop literally all Node.js packages, as uglify-js is self-contained and has no dependencies. Reduced node_modules from 17M to 374K. |
||
|---|---|---|
| .. | ||
| lunr | ||
| plugins | ||
| vendor/jquery | ||
| _main.js | ||
| main.min.js | ||