Framework Blackboxing when using Webpack?

Is it possible for Blackbox certain parts of WebPack to prevent Chrome from displaying a trace of the stack of internal Framework elements? For example, when considering an error in a React application, I don’t need stack trace entries inside the framework, but I just want to see the parts related to the code I wrote.

This is possible when using the "Framework Blackboxing" when using separate files, but I do not know how to do this using WebPack.

+5
source share
1 answer

Using devtool: "#eval" in your Webpack configuration (or --devtool #eval on the command line) seems to support both black and proper stack traces.

+2
source

Source: https://habr.com/ru/post/1234140/


All Articles