Created
June 20, 2014 21:05
-
-
Save planetoftheweb/3aa3f042a87e16dbdf97 to your computer and use it in GitHub Desktop.
Bootstrap loader for Prepros
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @prepros-prepend "jquery.js" | |
// @prepros-prepend "affix.js" | |
// @prepros-prepend "transition.js" | |
// @prepros-prepend "tooltip.js" | |
// @prepros-prepend "alert.js" | |
// @prepros-prepend "button.js" | |
// @prepros-prepend "carousel.js" | |
// @prepros-prepend "collapse.js" | |
// @prepros-prepend "dropdown.js" | |
// @prepros-prepend "modal.js" | |
// @prepros-prepend "popover.js" | |
// @prepros-prepend "scrollspy.js" | |
// @prepros-prepend "tab.js" |
Alternatively you can use Gulp.js and through these plugins: gulp-concat, gulp-less and gulp-uglify to join all your bootstrap.less + custom.less, all the js files in the order illustrated by villalobos + custom.js then minify the final result into single bootstrap.css and bootstrap.js RESPECTIVELY. Thanks from KENYA.
Check out alternative for this using gulpjs here: http://goo.gl/Oeh6bu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prepress team state no space between ‘@‘ and ‘/‘ see:
http://discuss.prepros.io/t/concatenate-and-minify-javascript/19. Some
user’s have reported issues with this, see:
http://stackoverflow.com/questions/19653214/concatenating-javascript-fil
es-with-prepros-fails. I’ve tested this and found no issues, but better
safe then sorry!
See: https://gist.github.com/iamjoshellis/b35bce2dd066d1757c6d for fix.
Sorry can't pr Gist's yet!