Merge pull request #35 from nventive/dev/jela/compression

Remove UWP from release build, enable compression
This commit is contained in:
Jérôme Laban 2018-12-20 16:29:43 -05:00 коммит произвёл GitHub
Родитель 1414dd01e2 04ff5a5037
Коммит ecefca6ae8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 81 добавлений и 2 удалений

Просмотреть файл

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
<system.webServer>
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
<staticContent>
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
<mimeMap fileExtension=".clr" mimeType="application/octet-stream" />
<mimeMap fileExtension=".woff2" mimeType="application/woff2" />
</staticContent>
<httpCompression maxDiskSpaceUsage="500"
noCompressionForRange="false"
doDiskSpaceLimiting="false"
dynamicCompressionDisableCpuUsage="100"
dynamicCompressionEnableCpuUsage="0"
staticCompressionEnableCpuUsage="0"
staticCompressionDisableCpuUsage="100"
staticCompressionIgnoreHitFrequency="true">
<dynamicTypes>
<clear />
<add enabled="true" mimeType="application/wasm"/>
<add enabled="true" mimeType="application/octet-stream"/>
<add enabled="false" mimeType="*/*"/>
</dynamicTypes>
<staticTypes>
<clear />
<add enabled="true" mimeType="application/wasm"/>
<add enabled="true" mimeType="application/octet-stream"/>
<add enabled="false" mimeType="*/*"/>
</staticTypes>
</httpCompression>
</system.webServer>
</configuration>

Просмотреть файл

@ -29,6 +29,7 @@
<Content Include="..\Uno.Playground.UWP\Assets\*.png" Link="Assets\%(FileName)%(Extension)" />
<Content Include="Fonts\winjs-symbols.woff2" />
<Content Include="ts\GoogleAnalytics.ts" />
<Content Include="web.config" />
</ItemGroup>
<ItemGroup>
@ -40,6 +41,10 @@
<UpToDateCheckInput Include="WasmScripts\**\*" />
</ItemGroup>
<ItemGroup>
<None Remove="web.config" />
</ItemGroup>
<ItemGroup>
<LinkerDescriptor Include="LinkerConfig.xml" />
</ItemGroup>

Просмотреть файл

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
<system.webServer>
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
<staticContent>
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
<mimeMap fileExtension=".clr" mimeType="application/octet-stream" />
<mimeMap fileExtension=".woff2" mimeType="application/woff2" />
</staticContent>
<httpCompression maxDiskSpaceUsage="500"
noCompressionForRange="false"
doDiskSpaceLimiting="false"
dynamicCompressionDisableCpuUsage="100"
dynamicCompressionEnableCpuUsage="0"
staticCompressionEnableCpuUsage="0"
staticCompressionDisableCpuUsage="100"
staticCompressionIgnoreHitFrequency="true">
<dynamicTypes>
<clear />
<add enabled="true" mimeType="application/wasm"/>
<add enabled="true" mimeType="application/octet-stream"/>
<add enabled="false" mimeType="*/*"/>
</dynamicTypes>
<staticTypes>
<clear />
<add enabled="true" mimeType="application/wasm"/>
<add enabled="true" mimeType="application/octet-stream"/>
<add enabled="false" mimeType="*/*"/>
</staticTypes>
</httpCompression>
</system.webServer>
</configuration>

Просмотреть файл

@ -298,8 +298,6 @@ Global
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x64.Build.0 = Release|x64
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x64.Deploy.0 = Release|x64
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x86.ActiveCfg = Release|x86
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x86.Build.0 = Release|x86
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x86.Deploy.0 = Release|x86
{5077C264-AD1A-4FFA-899C-A564F624F161}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{5077C264-AD1A-4FFA-899C-A564F624F161}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{5077C264-AD1A-4FFA-899C-A564F624F161}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU