You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -311,9 +311,11 @@ Used to determine how many digits after the decimal will be allowed. For instanc
311
311
* Type: `Boolean | String | undefined`
312
312
* Default: `undefined`
313
313
314
-
**Special:** Setting the `sourceMap` option requires also setting the `outFile` option
314
+
Enables source map generation during `render` and `renderSync`.
315
315
316
-
Enables the outputting of a source map during `render` and `renderSync`. When `sourceMap === true`, the value of `outFile` is used as the target output location for the source map. When `typeof sourceMap === "string"`, the value of `sourceMap` will be used as the writing location for the file.
316
+
When `sourceMap === true`, the value of `outFile` is used as the target output location for the source map with the suffix `.map` appended. If no `outFile` is set, `sourceMap` parameter is ignored.
317
+
318
+
When `typeof sourceMap === "string"`, the value of `sourceMap` will be used as the writing location for the file.
0 commit comments