nippur72 / SourceMaps.CSharp

Source maps in C#
4 stars 1 forks source link

CSharp.SourceMappings

C# classes for handling javascript Source Maps (.map files for in-browser javascript debugging)

Copied and converted from "dart2js.dart" source code (Dart language SDK).

How to use the example

This example demostrates the use of map files over a fictional language "UPPECARSE-JAVASCRIPT" where the source files are made of Javascript written all upercase.

The test program "compiles" (merges) source1.txt + source2.txt and produces myapp.js and myapp.js.map as result.

To run the example:

Some notes on the working of Source maps