|
|
|
|
@ -109,12 +109,19 @@ public abstract class BundlerBase : IBundler, ITransientDependency
|
|
|
|
|
content = GetFileContent(filePath, options.Minify);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
content = ProcessBeforeAddingToTheBundle(definition.Source, Path.Combine(options.Directory, "wwwroot"),
|
|
|
|
|
content = ProcessBeforeAddingToTheBundle(definition.Source, Path.Combine(Directory.GetCurrentDirectory(), "wwwroot"),
|
|
|
|
|
content);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (content.Contains("coding"))
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
builder.AppendLine(content);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return builder.ToString();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -133,7 +140,7 @@ public abstract class BundlerBase : IBundler, ITransientDependency
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var content = GetFileContent(fileFullPath, options.Minify);
|
|
|
|
|
content = ProcessBeforeAddingToTheBundle(definition.Source, Path.Combine(options.Directory, "wwwroot"),
|
|
|
|
|
content = ProcessBeforeAddingToTheBundle(definition.Source, Path.Combine(Directory.GetCurrentDirectory(), "wwwroot"),
|
|
|
|
|
content);
|
|
|
|
|
|
|
|
|
|
builder.AppendLine(content);
|
|
|
|
|
|