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
Comments
Post a Comment