- Index
- »
- compilerEs
- »
- SourceMap
type
constructors
methods
Slot Details
add
make
src
new make(CompilerSupport support)
pack
src
static Void pack(File[] files, OutStream out, [Str:Obj]? options := null)
Compile a list of pod JavaScript files into a single unified source map file. The list of files passed to this method should match exactly the list of files used to create the corresponding JavaScript FilePack. If the file is the standard pod JS file, then we will include an offset version of "{pod}.js.map" generated by the JavaScript compiler. Otherwise if the file is another JavaScript file (such as units.js) then we just add the appropiate offset.
The sourceRoot
option may be passed in to replace "/dev/{podName}" as the root URI used to fetch source files from the server.