# Control js order

**URL:** https://discourse.roots.io/t/control-js-order/6631
**Category:** sage
**Created:** 2016-05-03T09:47:16Z
**Posts:** 4
**Showing post:** 4 of 4

## Post 4 by @dandin84 — 2016-05-03T15:37:12Z

i didn’t know about the “dependencies” property…

i found the answer here after some research:

> [@Possible reordering of main.css and main.js rendering](https://discourse.roots.io/t/possible-reordering-of-main-css-and-main-js-rendering/4102/14):
>
> @govnaah nevermind got it working… it resumes to what @austin suggested: overriding jasny-bootstrap main and dependencies "overrides": { "modernizr": { "main": "./modernizr.js" }, "jasny-bootstrap": { "main": ["./dist/css/jasny-bootstrap.css", "./dist/js/jasny-bootstrap.js"], "dependencies": { "jquery": "\>= 1.9.0", "bootstrap-sass-official": "3.3.5" } }

---

_[View the full topic](https://discourse.roots.io/t/control-js-order/6631)._
