andrewdavey/cassette — Issue #110: AddPerSubDirectory only updating PageLocation in subdirectory bundles not the top level bundle
Author: CarlHA
Created: 2011-12-04 11:05:33+00:00
State: open

When using AddPerSubDirectory and customising the page location, the top level bundle is not being updated.
eg:
Scripts
Body
script.js
subDirectory
sub.js

bundles.AddPerSubDirectory("~/Script/Body", bundles=>bundles.PageLocation = "body")

script.js has PageLocation = null, and sub.js has PageLocation = "body"

I would expect script.js to also have PageLocation set to "body"