Can the loader option include and exclude be used at the same time in webpack?

when using babel-loader, many modules in node_modules do not need to be processed, but some of them need special treatment, so can you specify exclude: / node_modules/, and include into the special module in node_modules? Or is there a better way to deal with a module in node_modules?

Mar.13,2021

you can know this question by packing it up. Why ask it?

Menu