I have the following task in grunt:
concat: {
js: {
src: ['app/**/**/*.js',
'!app/**/**/*test.js'],
dest: 'app/scripts.js'
}
}
But it doesn't exclude the js files that finish with test
.
What pattern should I use to exclude these files?
This should work:
concat: {
js: {
src: [
'app/**/*.js',
'!**/*test.js'
],
dest: 'app/scripts.js'
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With