mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +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 = {
|
module.exports = {
|
||||||
|
|
||||||
Canvas: require('./canvas'),
|
|
||||||
Events: require('./events'),
|
Events: require('./events'),
|
||||||
Snapshot: require('./snapshot'),
|
Snapshot: require('./snapshot')
|
||||||
WebGL: require('./webgl')
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (typeof CANVAS_RENDERER)
|
||||||
|
{
|
||||||
|
module.exports.Canvas = require('./canvas');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (typeof WEBGL_RENDERER)
|
||||||
|
{
|
||||||
|
module.exports.WebGL = require('./webgl');
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue