TL;DR The js, and css pipelines default "out" directory is a relative path to the current directory rather than relative to the root url (needs to have a leading /). Took a look, couldn't decide where/how best to do this.
Steps to reproduce
In a new roots project
Create a jade template nested in a subfolder like /some/sub/category/index.jade
Extend the main layout file in that template
css and js attempt to load from /some/sub/category/build.css, fails.
Resolving the issue from app
Using "out" option to specify path relative to domain rather than directory:
TL;DR The js, and css pipelines default "out" directory is a relative path to the current directory rather than relative to the root url (needs to have a leading
/
). Took a look, couldn't decide where/how best to do this.Steps to reproduce
In a new roots project
/some/sub/category/index.jade
/some/sub/category/build.css
, fails.Resolving the issue from app
Using "out" option to specify path relative to domain rather than directory:
Resolving the issue from this project
Prepend a leading
/
to the default "out" path.