From b0dd7bdaaa212f31e2647275c8af965c399255b9 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Tue, 28 Jan 2014 12:57:29 -0800 Subject: [PATCH] Warn when missing build files Probably Related #123 --- Gruntfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 9595b562..80b9c1a3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,7 +4,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-yuidoc'); grunt.loadNpmTasks('grunt-karma'); - var sourceFiles = grunt.file.readJSON('build.json'); + var sourceFiles = grunt.file.readJSON('build.json'); grunt.initConfig({ concat: { pointerevents: { @@ -12,6 +12,7 @@ module.exports = function(grunt) { stripBanners: true, banner: grunt.file.read('LICENSE') }, + nonull: true, src: sourceFiles, dest: 'pointerevents.dev.js' } @@ -22,6 +23,7 @@ module.exports = function(grunt) { // sourceMap: 'pointerevents.min.js.map', banner: grunt.file.read('LICENSE') }, + nonull: true, dest: 'pointerevents.min.js', src: sourceFiles }