This src doesn't appear to target anything/returns nothing.
src: ['docroot/components/*/*.js']
rather than this
src: ['docroot/components/pages/*.js', 'docroot/components/plugins/*.js']
Is it possible to target random folders?
You should use double stars :
src: ['docroot/components/**/*.js']
Note the double star for folders. If you want to limit to one folder deep scanning you can use src: ['docroot/components/{,*/}*.js']
this can help with performance if needed.
More on how to specify targets : Gruntjs documentation - Configuring tasks : Globbing patterns
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