You can now exclude the FlexGrid from custom builds, saving 15KB.

This commit is contained in:
photonstorm 2015-09-30 11:19:55 +01:00
parent e31c7d1f5a
commit d7d4320def
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,4 @@
[
"src/core/FlexGrid.js",
"src/core/FlexLayer.js"
]

View file

@ -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'