Does include exclude everything not listed in the array/pattern?
chopfitzroy opened this issue · 1 comments
chopfitzroy commented
I was looking at #323 and want to do something similar, my current solution is:
babel({
extensions: ['.js', '.mjs', '.html', '.svelte'],
include: ['src/**', 'node_modules/svelte/**']
})
My question is does this explicitly exclude all other node_modules
?
Andarist commented
My question is does this explicitly exclude all other node_modules?
Yes, if you specify include
pattern then by nature only those files are included which means that everything else is excluded.