grunt-bootstrap
grunt-bootstrap copied to clipboard
custom dest: options for bootstrap between js and css to alternate locations possible?
I would like to know a way to specify where to output each js and css separately, currently they want to output into a css folder, and a js folder, both inside any dest: specified. However, i want them to land into css/vendor/.. and js/vendor/.. but not matter what configs i have tried i couldnt make that work and was forced to make the dest: dir a tmp dir liek this
bootstrap: { dest: 'tmp/bootstrap', js: [ 'bootstrap-modal.js', 'bootstrap-dropdown.js', 'bootstrap-button.js', ], css: [ 'responsive-767px-max.less', 'responsive-768px-979px.less', 'responsive-1200px-min.less', 'responsive-navbar.less' ] },then make some extra copy commands to copy them into the proper places like this
copy: { bootstrapcopyjs: { expand: true, cwd: '/tmp/bootstrap/js/', src: '*', dest: '/js/vendor/' }, bootstrapcopycss: { expand: true, cwd: '/tmp/bootstrap/css/', src: '*', dest: '/css/vendor/' } }
Sure wish i didnt have to do it that way. If anybody knows of a way i can alter the output dest: directory for both bootstraps js and bootstraps css files it would sure be appreciated.