thread-loader icon indicating copy to clipboard operation
thread-loader copied to clipboard

Cannot destructure property `outputOptions` of 'undefined' or 'null'

Open Omelettesheep opened this issue 3 years ago • 3 comments

I put a demo here, It can repreoduce the bug https://github.com/Omelettesheep/bugDemo

My config image

Error image

I add thread-loader to the config and the error occurs

Omelettesheep avatar Sep 02 '21 03:09 Omelettesheep

Do not use thread-loader, in 99% it is slower than without

alexander-akait avatar Sep 02 '21 09:09 alexander-akait

Do not use thread-loader, in 99% it is slower than without

Do not use thread-loader in any case? what about with babel-loader~

Omelettesheep avatar Sep 02 '21 10:09 Omelettesheep

You will get more perf when you will use cache.type: "filesystem", built-in parallelization in our roadmap, but using this loader you more get decrease, try to remove it and cache and check it

alexander-akait avatar Sep 02 '21 10:09 alexander-akait