mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
Added the PIXI.WebGLGraphics and PIXI.CanvasGraphics files to the Graphics custom build option. They weren't used anyway and this removes an extra 35.5KB from the build size.
This commit is contained in:
parent
200a2a37bf
commit
084c453fcc
2 changed files with 3 additions and 0 deletions
|
@ -299,6 +299,7 @@ can be controlled per-input mode.
|
|||
* New Color stub added for the custom build process. Contains just the bare minimum of functions that Phaser needs to work. Cuts file size from 48.7KB to 7.4KB. Note: Do not stub this out if using BitmapData objects.
|
||||
* New DOM stub added for the custom build process. Contains just the bare minimum of functions that Phaser needs to work. Cuts file size from 14.8KB to 2.4KB. Note: Do not stub this out if using the full Scale Manager.
|
||||
* New Scale Manager stub added. Removes all Scale Manager handling from Phaser! But saves 75KB in the process. If you know you don't need to scale the Phaser canvas, or are handling that externally, then you can safely stub it out in a custom build.
|
||||
* Added the PIXI.WebGLGraphics and PIXI.CanvasGraphics files to the Graphics custom build option. They weren't used anyway and this removes an extra 35.5KB from the build size.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
[
|
||||
"src/pixi/primitives/Graphics.js",
|
||||
"src/pixi/primitives/GraphicsData.js",
|
||||
"src/pixi/renderers/webgl/utils/WebGLGraphics.js",
|
||||
"src/pixi/renderers/canvas/CanvasGraphics.js",
|
||||
"src/gameobjects/Graphics.js"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue