Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -84,7 +84,7 @@ module.exports = function(grunt) {
},
watch: {
src: {
files: ['src/*', 'pointerevents.js'],
files: ['src/*'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably just reuse the srcFiles variable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

tasks: ['build', 'lint'],
options: {
spawn: false
Expand All @@ -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'
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"files": [
"dist/",
"src/",
"pointerevents.js",
"samples/"
],
"bugs": "https://github.com/jquery/PEP/issues",
Expand Down
File renamed without changes.