Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/source_map/mod.js>SourceNode#setSourceContent

Port of mozilla / source-map to deno.
Latest
method SourceNode.prototype.setSourceContent
import { SourceNode } from "https://deno.land/x/source_map@0.8.0-beta.1/mod.js";

Set the source content for a source file. This will be added to the SourceMapGenerator in the sourcesContent field.

Parameters

aSourceFile

The filename of the source file

aSourceContent

The content of the source file