Closed
Description
There are use-cases when there is no main javaScript file.
For example with NextJs where we don't own application startup.
src\mono\wasm\build\WasmApp.targets
<Error Condition="'$(WasmMainJSPath)' == ''" Text="%24(WasmMainJSPath) property needs to be set" />
src\tasks\WasmAppBuilder\WasmAppBuilder.cs
if (!File.Exists(MainJS))
throw new LogAsErrorException($"File MainJS='{MainJS}' doesn't exist.");