Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getCombinedSourceMap in transform plugin context (#2983) #2993

Merged
merged 5 commits into from Jul 15, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/05-plugin-development.md
Expand Up @@ -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
Expand Down
186 changes: 85 additions & 101 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.