Skip to content

Commit

Permalink
🔧 chore: disable webcil for running dynamic demo (#2179)
Browse files Browse the repository at this point in the history
* 🔧 chore: disable webcil for running dynamic demo

* update

* update
  • Loading branch information
capdiem authored Sep 30, 2024
1 parent 0b1deca commit 23d3247
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/Masa.Docs.Shared/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
if (path is "blazor/components/image-captcha" or "blazor/labs/watermark")
{
var assemblies = await AssemblyLoader.LoadAssembliesAsync(
new[] { "SkiaSharp.wasm", "SkiaSharp.Views.Blazor.wasm" });
new[] { "SkiaSharp.dll", "SkiaSharp.Views.Blazor.dll" });
lazyLoadedAssemblies.AddRange(assemblies);
}
else if (path == "blazor/components/forms")
{
var assemblies = await AssemblyLoader.LoadAssembliesAsync(
new[] { "Util.Reflection.wasm" });
new[] { "Util.Reflection.dll" });
lazyLoadedAssemblies.AddRange(assemblies);
}
}
Expand Down
7 changes: 4 additions & 3 deletions docs/Masa.Docs.WebAssembly/Masa.Docs.WebAssembly.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<WasmEnableWebcil>false</WasmEnableWebcil>
</PropertyGroup>

<ItemGroup>
Expand All @@ -13,9 +14,9 @@
</ItemGroup>

<ItemGroup>
<BlazorWebAssemblyLazyLoad Include="SkiaSharp.wasm" />
<BlazorWebAssemblyLazyLoad Include="SkiaSharp.Views.Blazor.wasm" />
<BlazorWebAssemblyLazyLoad Include="Util.Reflection.wasm" />
<BlazorWebAssemblyLazyLoad Include="SkiaSharp.dll" />
<BlazorWebAssemblyLazyLoad Include="SkiaSharp.Views.Blazor.dll" />
<BlazorWebAssemblyLazyLoad Include="Util.Reflection.dll" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 23d3247

Please sign in to comment.