diff --git a/gulp/util/bundle.js b/gulp/util/bundle.js index 17ea220..7c5de51 100644 --- a/gulp/util/bundle.js +++ b/gulp/util/bundle.js @@ -49,8 +49,6 @@ bundle.ignore('./' + exclude[i]); } - bundle.add('./src/polyfill/requestAnimationFrame.js'); - bundle.require(paths.jsEntry, { expose: 'pixi.js' }); return bundle; diff --git a/gulp/util/bundle.js b/gulp/util/bundle.js index 17ea220..7c5de51 100644 --- a/gulp/util/bundle.js +++ b/gulp/util/bundle.js @@ -49,8 +49,6 @@ bundle.ignore('./' + exclude[i]); } - bundle.add('./src/polyfill/requestAnimationFrame.js'); - bundle.require(paths.jsEntry, { expose: 'pixi.js' }); return bundle; diff --git a/src/index.js b/src/index.js index 1ba15c8..c597c78 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,5 @@ +require('./polyfill/requestAnimationFrame') + var core = require('./core'); extendCore(require('./core/math'));