Reorder grunt JS file exceptions to have it properly exclude test files
This commit is contained in:
parent
db96778fa6
commit
933215b9f1
1 changed files with 2 additions and 1 deletions
|
@ -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'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue