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" />
|
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.76" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<DotNetCliToolReference Include="BundlerMinifier.Core" Version="3.2.449" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(Configuration)'=='Debug'">
|
<ItemGroup Condition="'$(Configuration)'=='Debug'">
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.7" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.7" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -98,4 +102,8 @@
|
|||||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
<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\
)" />
|
<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>
|
||||||
|
|
||||||
|
<Target Name="MyPreCompileTarget" BeforeTargets="Build">
|
||||||
|
<Exec Command="dotnet bundle" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -7,12 +7,12 @@ let loadUri = '';
|
|||||||
let loaderResponseId = '';
|
let loaderResponseId = '';
|
||||||
let additionalParams = [];
|
let additionalParams = [];
|
||||||
|
|
||||||
function initLoader(location, loaderId, count = 10, start = count, additional) {
|
function initLoader(location, loaderId, count = 10, start = count, additional = []) {
|
||||||
loadUri = location;
|
loadUri = location;
|
||||||
loaderResponseId = loaderId;
|
loaderResponseId = loaderId;
|
||||||
loadCount = count;
|
loadCount = count;
|
||||||
loaderOffset = start;
|
loaderOffset = start;
|
||||||
additionalParams = additional ?? [];
|
additionalParams = additional;
|
||||||
setupListeners();
|
setupListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user