What is the SourceMapDevToolPlugin configuration equivalent for devtool:cheap-module-eval-source-map
Asked Answered
M

1

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.

Mouthpiece answered 17/8, 2018 at 0:3 Comment(0)
S
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/

Symmetrize answered 1/2, 2019 at 16:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.