mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
You can now exclude the FlexGrid from custom builds, saving 15KB.
This commit is contained in:
parent
e31c7d1f5a
commit
d7d4320def
2 changed files with 24 additions and 0 deletions
4
tasks/manifests/flexgrid.json
Normal file
4
tasks/manifests/flexgrid.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
"src/core/FlexGrid.js",
|
||||
"src/core/FlexLayer.js"
|
||||
]
|
|
@ -275,6 +275,26 @@ module.exports = {
|
|||
dest: '<%= modules_dir %>/tilesprite.js'
|
||||
},
|
||||
|
||||
tilespriteStub: {
|
||||
src: require('../manifests/tilesprite.stub'),
|
||||
dest: '<%= modules_dir %>/tilesprite.js'
|
||||
},
|
||||
|
||||
create: {
|
||||
src: require('../manifests/create'),
|
||||
dest: '<%= modules_dir %>/create.js'
|
||||
},
|
||||
|
||||
createStub: {
|
||||
src: require('../manifests/create.stub'),
|
||||
dest: '<%= modules_dir %>/create.js'
|
||||
},
|
||||
|
||||
flexgrid: {
|
||||
src: require('../manifests/flexgrid'),
|
||||
dest: '<%= modules_dir %>/flexgrid.js'
|
||||
},
|
||||
|
||||
outro: {
|
||||
src: require('../manifests/outro'),
|
||||
dest: '<%= modules_dir %>/outro.js'
|
||||
|
|
Loading…
Reference in a new issue