Control order of script concatenation using Brunch -


what best practice controlling order in scripts / stylesheets concatenated when using brunch?

a simple version of problem involves application using twitter bootstrap, requires jquery. bootstrap requires jquery loaded first.

initially had following in vendor/ directory: jquery-1.9.1.min.js , bootstrap.min.js

which concatenated brunch vendor.js file in alphabetical order, namely, bootstrap first.

to solve appended number beginning of each script designate order in wanted them concat -- 1-jquery-1.9.1.min.js , 2-bootstrap.min.js

i haven't been able find information on how more elegantly can't imagine that's best way accomplish this. help!

you can set order of concatenation in config

http://brunch.io/docs/config#-files-


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -