WebSharper 3.0.3-alpha released Core team
This is our first release of WebSharper 3.0-alpha with a new feature: source mapping. If you enable it on your project, you can see the F# sources in your browser and set breakpoints in it.
You can enable including source maps and the required source files in a WebSharper assembly, by adding the
property to your project file.
To unpack the source maps in your web project, add this same property to the project file, and
1 2 3
<staticContent> <mimeMap fileExtension=".fs" mimeType="text/plain" /> </staticContent>
It is also recommended to set
to have source position information inside reflected definitions available for WebSharper. Otherwise only the starting lines of functions can be mapped.
- Single-Page Application projects are currently not supported.
- For Internet Explorer, you need to have Windows 8.1 Update 1.
websharper.exealso has new flag
-smfor source map embedding/unpacking.
- We added combinators to simplify writing Sitelets for sub-actions and embedding them into Sitelets for wider actions. See issue #307 for more details about these combinators.
ObsoleteWithMessagefunction, with it you can specify a message for the obsolete warning.