Will the following exclude: '/node_modules/'
only exclude the node_modules folder in the same directory, or will it also exclude the nested node_module folders? If not: how can I adjust it to exclude all the node_module folders?
module: {
loaders: [
{ test: /\.ts$/, loader: 'ts-loader',exclude: '/node_modules/' }
]
},
Filestructure:
/general
/node_modules
/mod1
/src
/node_modules
/mod2
/src
/node_modules
include
usage. Thanks for this example using an Array. – Engaged