Skip to content

Commit 4119e5d

Browse files
alan-agius4montogeek
authored andcommitted
docs(plugins): Add sourceRoot description in SourceMapDevToolPlugin (#3223)
1 parent 94203bb commit 4119e5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/plugins/source-map-dev-tool-plugin.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The following options are supported:
3636
- `noSources = false` (`boolean`): Prevents the source file content from being included in the source map.
3737
- `publicPath` (`string`): Emits absolute URLs with public path prefix, e.g. `https://example.com/project/`.
3838
- `fileContext` (`string`): Makes the `[file]` argument relative to this directory.
39+
- `sourceRoot` (`string`): Provide a custom value for the `sourceRoot` property in the SourceMap.
3940

4041
The `lineToLine` object allows for the same `test`, `include`, and `exclude` options described above.
4142

0 commit comments

Comments
 (0)