public override List<Bundle> ParseConfigs()
        {
            if (!Directory.Exists(ProjectPath))
            {
                throw new DirectoryNotFoundException("Could not find project directory.");
            }

            FindConfigs();

            var loader = new ConfigLoader(
                FilePaths,
                new ExceptionThrowingLogger(),
                new ConfigLoaderOptions { ProcessBundles = true });

            Configuration = loader.Get();

            var bundles = new List<Bundle>();
            foreach (var bundleDefinition in Configuration.Bundles.BundleEntries.Where(r => !r.IsVirtual))
            {
                var bundle = new Bundle();
                bundle.Output = GetOutputPath(bundleDefinition.OutputPath, bundleDefinition.Name);
                bundle.Files = bundleDefinition.BundleItems
                                                .Select(r => new FileSpec(this.ResolvePhysicalPath(r.RelativePath), r.CompressionType))
                                                .ToList();
                bundles.Add(bundle);
            }

            return bundles;
        }
        public List<Bundle> ParseConfigs()
        {
            if (!Directory.Exists(ProjectPath))
            {
                throw new DirectoryNotFoundException("Could not find project directory.");
            }

            FindConfigs();

            foreach (var filePath in FilePaths)
            {
                LoadConfigData(filePath);
            }

            ResolveDefaultBundles();

            ResolvePhysicalPaths();

            ResolveBundleIncludes();

            var bundles = new List<Bundle>();
            foreach (var bundleDefinition in Configuration.Bundles.Where(r => !r.IsVirtual))
            {
                var bundle = new Bundle();
                bundle.Output = GetOutputPath(bundleDefinition);
                bundle.Files = bundleDefinition.Items
                                                .Select(r => new FileSpec(r.PhysicalPath, r.CompressionType))
                                                .ToList();
                bundles.Add(bundle);
            }

            return bundles;
        }