Skip to content

Commit 14d1a5f

Browse files
committed
add missing option
1 parent b52e1d8 commit 14d1a5f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,12 @@ const { code, map } = print(ast, {
4646
// Populate the `sourcesContent` field of the resulting sourcemap
4747
sourceMapContent: fs.readFileSync('input.js', 'utf-8'),
4848

49+
// Whether to encode the `mappings` field of the resulting sourcemap
50+
// as a VLQ string, rather than an unencoded array. Defaults to `true`
51+
sourceMapEncodeMappings: false,
52+
4953
// String to use for indentation — defaults to '\t'
50-
indent: ' ',
54+
indent: ' ',
5155

5256
// Whether to wrap strings in single or double quotes — defaults to 'single'.
5357
// This only applies to string literals with no `raw` value, which generally

0 commit comments

Comments
 (0)