angularjs - Grunt Concat Task: How to exclude some files? -
i have following task in grunt:
concat: { js: { src: ['app/**/**/*.js', '!app/**/**/*test.js'], dest: 'app/scripts.js' } } but doesn't exclude js files finish test. pattern should use exclude these files?
this should work:
concat: { js: { src: [ 'app/**/*.js', '!**/*test.js' ], dest: 'app/scripts.js' } }
Comments
Post a Comment