7

Are there are any examples of how to configure SourceMapDevToolPlugin to match the various devtool sourcemap options.

For example, what is the SourceMapDevToolPlugin configuration equivalent for devtool:cheap-module-eval-source-map I'm trying to configure the plugin to map the various options for devtool.

1 Answer 1

4

For posterity (I was looking for this too):

I think the OP is looking for EvalSourceMapDevToolPlugin which is the plugin for eval-sourcemap functionality. The equivalent should be:

new webpack.EvalSourceMapDevToolPlugin({ columns: false });

reference documentation: https://webpack.js.org/plugins/eval-source-map-dev-tool-plugin/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.