diff --git a/samples/Basic/BlazorWebAssembly/SkiaSharpSample/Properties/launchSettings.json b/samples/Basic/BlazorWebAssembly/SkiaSharpSample/Properties/launchSettings.json
index 4a42f9d4ce..bdfdbbafcf 100644
--- a/samples/Basic/BlazorWebAssembly/SkiaSharpSample/Properties/launchSettings.json
+++ b/samples/Basic/BlazorWebAssembly/SkiaSharpSample/Properties/launchSettings.json
@@ -20,6 +20,31 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ // Uncomment the element in index.html to use these profiles
+ "http/app": {
+ "commandName": "Project",
+ "dotnetRunMessages": true,
+ "launchBrowser": true,
+ "launchUrl": "app",
+ "commandLineArgs": "--pathbase=/app",
+ "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/app/_framework/debug/ws-proxy?browser={browserInspectUri}",
+ "applicationUrl": "http://localhost:5000",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "https/app": {
+ "commandName": "Project",
+ "dotnetRunMessages": true,
+ "launchBrowser": true,
+ "launchUrl": "app",
+ "commandLineArgs": "--pathbase=/app",
+ "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/app/_framework/debug/ws-proxy?browser={browserInspectUri}",
+ "applicationUrl": "https://localhost:5001;http://localhost:5000",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
}
}
}
diff --git a/samples/Basic/BlazorWebAssembly/SkiaSharpSample/wwwroot/index.html b/samples/Basic/BlazorWebAssembly/SkiaSharpSample/wwwroot/index.html
index 54278eb462..6394d03cf1 100644
--- a/samples/Basic/BlazorWebAssembly/SkiaSharpSample/wwwroot/index.html
+++ b/samples/Basic/BlazorWebAssembly/SkiaSharpSample/wwwroot/index.html
@@ -5,7 +5,8 @@
SkiaSharpSample
-
+
+
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/Internal/JSModuleInterop.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/Internal/JSModuleInterop.cs
index 6acc23d2e3..707a857b63 100644
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/Internal/JSModuleInterop.cs
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/Internal/JSModuleInterop.cs
@@ -20,7 +20,7 @@ internal partial class JSModuleInterop : IDisposable
public JSModuleInterop(IJSRuntime js, string moduleName, string moduleUrl)
{
#if NET7_0_OR_GREATER
- moduleTask = JSHost.ImportAsync(moduleName, "/" + moduleUrl);
+ moduleTask = JSHost.ImportAsync(moduleName, "../" + moduleUrl);
#else
if (js is not IJSInProcessRuntime)
throw new NotSupportedException("SkiaSharp currently only works on Web Assembly.");
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/SkiaSharp.Views.Blazor.csproj b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/SkiaSharp.Views.Blazor.csproj
index 3c20e1bfb8..eab705de81 100644
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/SkiaSharp.Views.Blazor.csproj
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/SkiaSharp.Views.Blazor.csproj
@@ -12,6 +12,12 @@
aspnet;blazor;web
+
+ es2015
+ es2015
+ True
+
+
@@ -21,7 +27,7 @@
-
+
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/tsconfig.json b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/tsconfig.json
deleted file mode 100644
index 2da1b0eef8..0000000000
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/tsconfig.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "compilerOptions": {
- "noImplicitAny": false,
- "noEmitOnError": true,
- "removeComments": false,
- "sourceMap": false,
- "target": "ES2020",
- "module": "ES2020",
- "outDir": "wwwroot"
- },
- "exclude": [
- "node_modules"
- ]
-}
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/DpiWatcher.js b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/DpiWatcher.js
index 635cd40c90..fe3873a534 100644
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/DpiWatcher.js
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/DpiWatcher.js
@@ -30,3 +30,4 @@ export class DpiWatcher {
}
}
}
+//# sourceMappingURL=DpiWatcher.js.map
\ No newline at end of file
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/DpiWatcher.js.map b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/DpiWatcher.js.map
new file mode 100644
index 0000000000..9b6c1448bc
--- /dev/null
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/DpiWatcher.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"DpiWatcher.js","sourceRoot":"","sources":["DpiWatcher.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,UAAU;IAKf,MAAM,CAAC,MAAM;QACnB,OAAO,MAAM,CAAC,gBAAgB,CAAC;IAChC,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,QAA4B;QAC/C,wEAAwE;QAExE,UAAU,CAAC,OAAO,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAC7C,UAAU,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACjE,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAE/B,OAAO,UAAU,CAAC,OAAO,CAAC;IAC3B,CAAC;IAEM,MAAM,CAAC,IAAI;QACjB,mFAAmF;QAEnF,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAEzC,UAAU,CAAC,QAAQ,GAAG,SAAS,CAAC;IACjC,CAAC;IAED,MAAM,CAAC,MAAM;QACZ,IAAI,CAAC,UAAU,CAAC,QAAQ;YACvB,OAAO;QAER,MAAM,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAC3C,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QACnC,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC;QAEhC,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,UAAU,CAAC,GAAG,KAAK,EAAE,CAAC;YAC5C,IAAI,OAAO,UAAU,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;gBAC/C,UAAU,CAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;YAC1C,CAAC;iBAAM,CAAC;gBACP,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;YACjE,CAAC;QACF,CAAC;IACF,CAAC;CACD"}
\ No newline at end of file
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SKHtmlCanvas.js b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SKHtmlCanvas.js
index d0907933bd..08c9ea6760 100644
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SKHtmlCanvas.js
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SKHtmlCanvas.js
@@ -181,3 +181,4 @@ export class SKHtmlCanvas {
return GL.currentContext && GL.currentContext.GLctx || GLctx;
}
}
+//# sourceMappingURL=SKHtmlCanvas.js.map
\ No newline at end of file
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SKHtmlCanvas.js.map b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SKHtmlCanvas.js.map
new file mode 100644
index 0000000000..874f1d3fec
--- /dev/null
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SKHtmlCanvas.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"SKHtmlCanvas.js","sourceRoot":"","sources":["SKHtmlCanvas.ts"],"names":[],"mappings":"AAqBA,MAAM,OAAO,YAAY;IASjB,MAAM,CAAC,MAAM,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wwwroot/SizeWatcher.js
index 7c57c394de..592cd63459 100644
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SizeWatcher.js
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SizeWatcher.js
@@ -45,3 +45,4 @@ export class SizeWatcher {
}
}
}
+//# sourceMappingURL=SizeWatcher.js.map
\ No newline at end of file
diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SizeWatcher.js.map b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SizeWatcher.js.map
new file mode 100644
index 0000000000..21d9148687
--- /dev/null
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/SizeWatcher.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"SizeWatcher.js","sourceRoot":"","sources":["SizeWatcher.ts"],"names":[],"mappings":"AAWA,MAAM,OAAO,WAAW;IAIhB,MAAM,CAAC,OAAO,CAAC,OAAoB,EAAE,SAAiB,EAAE,QAA6B;QAC3F,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ;YACxC,OAAO;QAER,mFAAmF;QAEnF,WAAW,CAAC,IAAI,EAAE,CAAC;QAEnB,OAAO,GAAG,OAAO,IAAI,QAAQ,CAAC,aAAa,CAAC,GAAG,GAAG,SAAS,GAAG,GAAG,CAAC,CAAC;QAEnE,MAAM,cAAc,GAAG,OAA6B,CAAC;QACrD,cAAc,CAAC,WAAW,GAAG;YAC5B,QAAQ,EAAE,QAAQ;SAClB,CAAC;QAEF,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAC7C,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAEtC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,SAAiB;QACxC,IAAI,CAAC,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ot/types/dotnet/extras.d.ts b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/types/dotnet/extras.d.ts
index 4a3d71e034..88a652bec7 100644
--- a/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/types/dotnet/extras.d.ts
+++ b/source/SkiaSharp.Views/SkiaSharp.Views.Blazor/wwwroot/types/dotnet/extras.d.ts
@@ -1,7 +1,7 @@
-
+
declare namespace DotNet {
interface DotNetObjectReference extends DotNet.DotNetObject {
_id: number;
- dispose();
+ dispose(): void;
}
}