You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have it so that we can define different modules out of the same folders.
For instance, you've got a legacy app you're grafting Cassette into... Instead of having to refactor to move every script in the system to get clean modules, why not be able to define the modules as XML instead?
Cassette's new IModuleSource<T> interface should make this possible. Currently there are two file-system based module sources (PerSubDirectorySource and DirectorySource).
A module source has a method GetModules that should return a collection of modules. So creating an implementation of this that accepts a fixed set of asset paths should be quite easy. I'll have a go at adding this.
By default every path you add cassette will combine all JavaScript files in the folders into modules.
On certain folders I would like to be able to specify to cassette to ignore combining the JavaScript on that folder and it's sub folders.
I would still like to have cassette manage (minification, visioning etc.) but as individual resources.
Maybe this could be done in the configuration like
The text was updated successfully, but these errors were encountered: