Skip to content

Commit 6d0aa61

Browse files
committed
New Create stub added for the custom build process. Cuts file size by 8KB.
1 parent 6fd2b6a commit 6d0aa61

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

src/stubs/Create.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* @author Richard Davey <rich@photonstorm.com>
3+
* @copyright 2015 Photon Storm Ltd.
4+
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
5+
*/
6+
7+
Phaser.Create = function () {};

tasks/manifests/create.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
"src/core/Create.js"
3+
]

tasks/manifests/create.stub.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
"src/stubs/Create.js"
3+
]

0 commit comments

Comments
 (0)