Webpack, why "eval" is described as faster when "rebuilding",

eval is a type of webpack source map. As stated in the white paper,

eval . Each module runs with eval() and //@ sourceURL . This is pretty fast. The main disadvantage is that it does not display line numbers correctly, as it is converted to converted code instead of source code.

I don’t quite understand why so fast?

+5
source share

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


All Articles