protected ASCBundle(string virtualPath, params IBundleTransform[] transforms) : base(virtualPath, transforms) { Transforms.Add(new CopyrigthTransform()); BundlePath = Path; if (!BundleTable.Bundles.UseCdn || virtualPath.Contains(CLIENT_SCRIPT_VPATH)) { return; } if (CoreContext.Configuration.Standalone) { Transforms.Add(new DiscTransform()); BundlePath = DiscTransform.GetFullFileName(Path, ContentType); if (DiscTransform.BundleExist(BundlePath)) { CdnPath = BundlePath; } } else { Transforms.Add(new CdnTransform()); } }