To create production-ready bundles, we need to allow creating non-JS-module bundles that WebSharper sites can use.
For first implementation, every non-abstract Web.Control type, every pre-translated F# quotation, and every function marked with [<JavaScriptExport>] will be re-exported in a root.js file that can be used to execute a bundler on like Webpack/Rollup.
Then the Sitelet runtime will use this bundle instead of modules.
To create production-ready bundles, we need to allow creating non-JS-module bundles that WebSharper sites can use.
For first implementation, every non-abstract Web.Control type, every pre-translated F# quotation, and every function marked with
[<JavaScriptExport>]
will be re-exported in aroot.js
file that can be used to execute a bundler on like Webpack/Rollup.Then the Sitelet runtime will use this bundle instead of modules.