Skip to content

EvalSourceMapDevToolPlugin: add ability to filter modules - #6456

Merged
sokra merged 1 commit into
webpack:nextfrom
MagicDuck:eval_sourcemap_filter
Feb 9, 2018
Merged

sokra merged 1 commit into
webpack:nextfrom
MagicDuck:eval_sourcemap_filter

Conversation

@MagicDuck

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?
Feature.

Did you add tests for your changes?
yes

If relevant, link to documentation update:
It's weird, the documentation contains this, see https://webpack.js.org/plugins/eval-source-map-dev-tool-plugin/, but when I run the new unit test I added, it fails... which indicates that maybe the docs were mistakenly added??? Unless I am missing something.

Summary
Adding ability to filter which modules get sourcemapped when using EvalSourceMapDevToolPlugin.
See: #6450
This is useful to filter out stuff you don't care about or stuff that's very large and screws up with devtools.

Does this PR introduce a breaking change?
no

@webpack-bot

Copy link
Copy Markdown
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@ooflorent

Copy link
Copy Markdown
Contributor

Could you rebase your PR on next branch?

@MagicDuck

Copy link
Copy Markdown
Contributor Author

@ooflorent You mean change it so that we merge into webpack:next instead?

@MagicDuck MagicDuck closed this Feb 8, 2018
@MagicDuck MagicDuck reopened this Feb 8, 2018
@MagicDuck
MagicDuck force-pushed the eval_sourcemap_filter branch from dbcc273 to f114c95 Compare February 9, 2018 01:30
@MagicDuck
MagicDuck changed the base branch from master to next February 9, 2018 01:30
…ourcemapped

see: webpack#6450
This is useful to filter out stuff you don't care about or stuff that's very
large and screws up with devtools.
@MagicDuck

Copy link
Copy Markdown
Contributor Author

hmm, I am not sure what the deal with Codacy is...

@sokra
sokra merged commit e5cbdd3 into webpack:next Feb 9, 2018
@sokra

sokra commented Feb 9, 2018

Copy link
Copy Markdown
Member

Thanks

@MagicDuck
MagicDuck deleted the eval_sourcemap_filter branch February 9, 2018 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants