Repository navigation
docs: clarify JavaScript inclusion for WebAssembly - #24243
Conversation
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24243/docs/index.html |
morning4coffe-dev
left a comment
There was a problem hiding this comment.
Reviewed d3a5c71e8919 against the SDK targets and bootstrapper implementation.
Uno.SingleProject.Wasm.targets automatically includes AppManifest.js and Fonts.css, not arbitrary sibling files. The explicit EmbeddedResource guidance is therefore appropriate. In the referenced bootstrapper implementation, ExtractAdditionalJS/ExtractAdditionalCSS enumerate the supplied embedded resources, publish files from WasmScripts/WasmCSS and add the JavaScript dependencies/CSS links; this is not an npm dependency resolver.
The Prism change retains explicit prism.js/prism.css entries while removing the redundant default-resource entries. The older .Wasm-project layout still used by that walkthrough is a separate modernization opportunity, not a functional blocker to this correction.
Validation scope: documentation and exact SDK/pinned bootstrapper source comparison; no new browser deployment or complete DocFX build was performed.
GitHub Issue: closes #22268
PR Type:
📚 Documentation content changes
What changed? 🚀
Clarified arbitrary JavaScript inclusion, current
EmbeddedResourceusage, npm dependency bundling, and links to existing CDN, runtime, and Uno.Sdk documentation. Removed stale automatic resource entries from the Prism example.PR Checklist ✅
Testing 🧪
git diff --checkpassedDisclosure
No functional or breaking changes.