I'm trying to understand the webpack 2 and babel-loader documentation but I'm confused by the exclude
option..
Here's what I mean:
{
test: /\.jsx?$/,
use: 'babel-loader',
exclude: 'node_modules',
include: 'app'
}
Include will use that loader to process the files that match in 'app'
, but do I need to do this for node_modules
?
THanks