mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Exclude the renderers
This commit is contained in:
parent
47d393ac29
commit
3b2ed4a4fe
1 changed files with 11 additions and 3 deletions
|
@ -14,9 +14,17 @@
|
|||
|
||||
module.exports = {
|
||||
|
||||
Canvas: require('./canvas'),
|
||||
Events: require('./events'),
|
||||
Snapshot: require('./snapshot'),
|
||||
WebGL: require('./webgl')
|
||||
Snapshot: require('./snapshot')
|
||||
|
||||
};
|
||||
|
||||
if (typeof CANVAS_RENDERER)
|
||||
{
|
||||
module.exports.Canvas = require('./canvas');
|
||||
}
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
module.exports.WebGL = require('./webgl');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue