recently looking at the JavaScript, generated by Webpack, there is a question that I don"t understand: why should Webpack provide the mode of eval , wrapping the generated code of the module with eval ?
the discussion here is not limited to devtool is eval , but also includes eval-source-map , cheap-eval-source-map and other derivative combinations that contain eval . If the advantage of eval is that build is fast, because it doesn"t generate source map, what about things like eval-source-map ?
so my question is not source map, but eval itself. If it is so criticized, why does Webpack still introduce such a code generation mechanism, and what are the benefits of it?
