Merge pull request #2280 from coreos-inc/exclude-spec-files

Exclude JS Test Files From Grunt Build
This commit is contained in:
Alec Merdler 2017-01-13 13:21:29 -08:00 committed by GitHub
commit 955317ac98

View file

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