Reorder grunt JS file exceptions to have it properly exclude test files

This commit is contained in:
Joseph Schorr 2017-01-18 15:35:20 -05:00
parent db96778fa6
commit 933215b9f1

View file

@ -25,7 +25,8 @@ module.exports = function(grunt) {
}, },
}, },
build: { build: {
src: ['!../static/js/**/*.spec.js', '../static/lib/**/*.js', '../static/js/**/*.js', '../static/dist/template-cache.js'], src: ['../static/lib/**/*.js', '../static/js/**/*.js', '../static/dist/template-cache.js',
'!../static/js/**/*.spec.js'],
dest: '../static/dist/<%= pkg.name %>.js' dest: '../static/dist/<%= pkg.name %>.js'
} }
}, },