Parallelism

Parallelism will limit the number of parallel processed modules. This can be used to fine-tune performance or for more reliable profiling. The following example gives the limit number as 1, but you can alter this as you wish:

parallelism: 1

Webpack 5 permits the use of modules being processed in parallel as well as bundling in parallel. This can eat up memory, so this option should be noted on larger projects.

As your project gets more complex, you may want to record the compilation process, which can help with—among other things—tracing bugs and errors. Records Path will help you do this, and we will take a closer look at that now.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.82.23