Skip to content

Commit

Permalink
Revert "🔧 chore: disable webcil for running dynamic demo (#2179)"
Browse files Browse the repository at this point in the history
This reverts commit 23d3247.
  • Loading branch information
capdiem committed Oct 16, 2024
1 parent 224892c commit 7512037
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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.dll", "SkiaSharp.Views.Blazor.dll" });
new[] { "SkiaSharp.wasm", "SkiaSharp.Views.Blazor.wasm" });
lazyLoadedAssemblies.AddRange(assemblies);
}
else if (path == "blazor/components/forms")
{
var assemblies = await AssemblyLoader.LoadAssembliesAsync(
new[] { "Util.Reflection.dll" });
new[] { "Util.Reflection.wasm" });
lazyLoadedAssemblies.AddRange(assemblies);
}
}
Expand Down
7 changes: 3 additions & 4 deletions docs/Masa.Docs.WebAssembly/Masa.Docs.WebAssembly.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<WasmEnableWebcil>false</WasmEnableWebcil>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
Expand All @@ -19,9 +18,9 @@
</ItemGroup>

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

<ItemGroup>
Expand Down

0 comments on commit 7512037

Please sign in to comment.