update bundle minifier package to use .net core one
This commit is contained in:
parent
5842073f91
commit
4590d94d7d
@ -70,6 +70,10 @@
|
||||
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.76" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<DotNetCliToolReference Include="BundlerMinifier.Core" Version="3.2.449" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.7" />
|
||||
</ItemGroup>
|
||||
@ -98,4 +102,8 @@
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<Exec Command="if $(ConfigurationName) == Debug ( 
powershell -Command wget https://raw.githubusercontent.com/iconic/open-iconic/master/font/css/open-iconic-bootstrap.scss -o $(ProjectDir)wwwroot\lib\open-iconic\font\css\open-iconic-bootstrap.scss
echo d | xcopy /f /y $(ProjectDir)wwwroot\lib\open-iconic\font\fonts $(ProjectDir)wwwroot\font\
)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="MyPreCompileTarget" BeforeTargets="Build">
|
||||
<Exec Command="dotnet bundle" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
@ -7,12 +7,12 @@ let loadUri = '';
|
||||
let loaderResponseId = '';
|
||||
let additionalParams = [];
|
||||
|
||||
function initLoader(location, loaderId, count = 10, start = count, additional) {
|
||||
function initLoader(location, loaderId, count = 10, start = count, additional = []) {
|
||||
loadUri = location;
|
||||
loaderResponseId = loaderId;
|
||||
loadCount = count;
|
||||
loaderOffset = start;
|
||||
additionalParams = additional ?? [];
|
||||
additionalParams = additional;
|
||||
setupListeners();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user