Skip to content
Permalink
Browse files
Add getCombinedSourceMap in transform plugin context (#2983) (#2993)
* Add getCombinedSourceMap in transform plugin context (#2983)

* Update the code and doc style of combined sourcemap

* Update dependencies and fix security warnings

* Rename getCombinedSourcemap
  • Loading branch information
billowz authored and lukastaegert committed Jul 15, 2019
1 parent a36020d commit 6b500b86da7705bcc3c9e5f06b0c7b21db4ba0dd
Show file tree
Hide file tree
Showing 12 changed files with 389 additions and 151 deletions.
@@ -355,6 +355,10 @@ Get the file name of an asset, according to the `assetFileNames` output option p

Get the file name of an emitted chunk. The file name will be relative to `outputOptions.dir`.

#### `this.getCombinedSourcemap() => SourceMap`

Get the combined source maps of all previous plugins. This context function can only be used in [`transform`](guide/en/#transform) plugin hook.

#### `this.getModuleInfo(moduleId: string) => ModuleInfo`

Returns additional information about the module in question in the form

Some generated files are not rendered by default. Learn more.

0 comments on commit 6b500b8

Please sign in to comment.