mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Created a new build using only p2
This commit is contained in:
parent
3965862b82
commit
52ff097cf8
2 changed files with 21 additions and 0 deletions
|
@ -54,6 +54,19 @@ module.exports = {
|
|||
dest: '<%= compile_dir %>/phaser-no-physics.js'
|
||||
},
|
||||
|
||||
// Phaser with just P2 physics included. Does include Pixi.
|
||||
phaserP2Physics: {
|
||||
options: {
|
||||
banner: '<%= banner %>'
|
||||
},
|
||||
src: [
|
||||
'<%= compile_dir %>/pixi.js',
|
||||
require('../manifests/phaser-nophysics'),
|
||||
'<%= compile_dir %>/p2.js'
|
||||
],
|
||||
dest: '<%= compile_dir %>/phaser-p2-physics.js'
|
||||
},
|
||||
|
||||
// One ring to rule them all
|
||||
standalone: {
|
||||
options: {
|
||||
|
|
|
@ -56,6 +56,14 @@ module.exports = {
|
|||
dest: '<%= compile_dir %>/phaser-no-physics.min.js'
|
||||
},
|
||||
|
||||
phaserP2Physics: {
|
||||
options: {
|
||||
banner: '/* Phaser (P2) v<%= package.version %> - http://phaser.io - @photonstorm - (c) 2014 Photon Storm Ltd. */\n'
|
||||
},
|
||||
src: ['<%= concat.phaserP2Physics.dest %>'],
|
||||
dest: '<%= compile_dir %>/phaser-p2-physics.min.js'
|
||||
},
|
||||
|
||||
standalone: {
|
||||
options: {
|
||||
sourceMap: true,
|
||||
|
|
Loading…
Reference in a new issue