dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.45k stars 4.76k forks source link

[wasm] Tracking issue for build/bundler changes #70762

Closed radical closed 6 months ago

radical commented 2 years ago

Implementation plan

Deployment scenarios

Deployment shapes

It will cover various needs

Browser vs Wasi

Browser SDK responsibilities

StaticWebAssets SDK <- (Runtime) Wasm SDK <- Blazor SDK

From blazor

others

JS startup

ghost commented 2 years ago

Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.

Issue Details
# TODO - [ ] add compression step like blazor - [ ] Adopt blazor.boot.json like format, instead of mono-config.json - [ ] Allow Blazor's build to be able to extend wasm sdk one - [ ] And same for wasi - [ ] split it into configurable steps
Author: radical
Assignees: radical
Labels: `arch-wasm`, `area-Build-mono`
Milestone: 7.0.0
pavelsavara commented 2 years ago

I don't understand the WASI requirement. It is closer to mono on windows than to mono on the browser. There is no JS, no fetch, no downloading stuff, no Emscripten to configure. @lewing

radical commented 2 years ago

re:wasi, idea is to be able to support building for that also, with our toolchain.

lewing commented 2 years ago

The wasi bundler embeds the assemblies, we should enable that option on wasm as well.

radical commented 2 years ago

I would suggest adding your name against the item that you are working on.

radical commented 1 year ago

The remaining bits are all for milestone 9.0 .

maraf commented 6 months ago

Closing this issue as remaining tasks are tracked individual issues