diff --git a/Gruntfile.js b/Gruntfile.js index 868d2bce..04e689ff 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -18,7 +18,7 @@ module.exports = function(grunt) { var testPkg = pkg['web-platform-tests']; var w3cPath = path.normalize(testPkg.path); - var srcFiles = ['pointerevents.js', 'src/**/*.js']; + var srcFiles = ['src/**/*.js']; var buildFiles = ['Gruntfile.js', 'build/**/*.js']; var testFiles = [ @@ -84,7 +84,7 @@ module.exports = function(grunt) { }, watch: { src: { - files: ['src/*', 'pointerevents.js'], + files: srcFiles, tasks: ['build', 'lint'], options: { spawn: false @@ -100,7 +100,7 @@ module.exports = function(grunt) { grunt.log.write('Building PEP...'); esperanto.bundle({ base: 'src', - entry: '../pointerevents.js' + entry: 'pointerevents.js' }).then(function(bundle) { var umd = bundle.toUmd({ name: 'PointerEventsPolyfill' diff --git a/package.json b/package.json index 41ba3823..c052edc0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "files": [ "dist/", "src/", - "pointerevents.js", "samples/" ], "bugs": "https://github.com/jquery/PEP/issues", diff --git a/pointerevents.js b/src/pointerevents.js similarity index 100% rename from pointerevents.js rename to src/pointerevents.js