Closed youbiak closed 7 years ago
Yeah, the include
is optional. It's there for convenience in case you want to do different things for different directories. I should expand on that.
Setting include
/exclude
is more important if you use JavaScript as then webpack will process node_modules
by default due to the way module resolution process works. This can lead to some weird behavior and decrease performance as the assumption is that those files have been preprocessed already.
Exactly my thought, thank you for the quick reply
function gets undefined for the
include
rule, code works anyway so I suppose the default is to include all files ?