-
Notifications
You must be signed in to change notification settings - Fork 63
JS minified files
Roberto Segura edited this page Oct 15, 2013
·
1 revision
This uses UglifyJS to create minified files.
# python-software-properties is needed to use add-apt-repository
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejsBootstrap requires a specific uglifyjs version that works with bootstrap:
sudo npm install uglify-js@1 -gTo minify bootstrap redCORE files:
uglifyjs -nc media/redcore/js/lib/bootstrap.js > media/redcore/js/lib/bootstrap.min.jsredCORE documentation menu: