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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -