Skip to content

Commit b0dd7bd

Browse files
committed
Warn when missing build files
Probably Related jquery-archive#123
1 parent 1b6e77c commit b0dd7bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ module.exports = function(grunt) {
44
grunt.loadNpmTasks('grunt-contrib-yuidoc');
55
grunt.loadNpmTasks('grunt-karma');
66

7-
var sourceFiles = grunt.file.readJSON('build.json');
7+
var sourceFiles = grunt.file.readJSON('build.json');
88
grunt.initConfig({
99
concat: {
1010
pointerevents: {
1111
options: {
1212
stripBanners: true,
1313
banner: grunt.file.read('LICENSE')
1414
},
15+
nonull: true,
1516
src: sourceFiles,
1617
dest: 'pointerevents.dev.js'
1718
}
@@ -22,6 +23,7 @@ module.exports = function(grunt) {
2223
// sourceMap: 'pointerevents.min.js.map',
2324
banner: grunt.file.read('LICENSE')
2425
},
26+
nonull: true,
2527
dest: 'pointerevents.min.js',
2628
src: sourceFiles
2729
}

0 commit comments

Comments
 (0)