pub fn compile_script_with_source_map(
script: &Script,
source_map: &SourceMap,
root_id: SourceId,
langspec: Option<&LangSpec>,
options: CompileOptions,
) -> Result<CompileArtifacts, CompileError>Expand description
Compiles one parsed script and emits NDB when a source map is available.
ยงErrors
Returns CompileError if compilation fails.