public FubuMvcPackageFacility()
{
string applicationPath = GetApplicationPath();
if (applicationPath.IsNotEmpty())
{
var fileSystem = new FileSystem();
// Development mode
Loader(new PackageManifestReader(applicationPath, fileSystem, folder => folder));
// Production mode with zip files
var zipFilePackageReader = BuildZipFilePackageReader(applicationPath, fileSystem);
Loader(zipFilePackageReader);
}
// TODO -- need an activator for scripts/*/styles, etc.
Activator(new VirtualPathProviderActivator());
Activator(new PackageFolderActivator(_imageUrlResolver));
}