mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
56 lines
1.5 KiB
JavaScript
56 lines
1.5 KiB
JavaScript
|
|
module.exports = {
|
|
|
|
custom: {
|
|
|
|
options: {
|
|
sourceMap: '<%= sourcemap %>',
|
|
sourceMapName: '<%= compile_dir %>/<%= filename %>.map',
|
|
banner: '/* Phaser v<%= package.version %> - http://phaser.io - @photonstorm - (c) 2016 Photon Storm Ltd. */\n'
|
|
},
|
|
|
|
src: ['<%= concat.custom.dest %>'],
|
|
dest: '<%= compile_dir %>/<%= filename %>.min.js'
|
|
|
|
},
|
|
|
|
pixi: {
|
|
|
|
options: {
|
|
sourceMap: '<%= sourcemap %>',
|
|
sourceMapName: '<%= compile_dir %>/pixi.map',
|
|
banner: '/* Phaser v<%= package.version %> PIXI Build - http://phaser.io - @photonstorm - (c) 2016 Photon Storm Ltd. */\n'
|
|
},
|
|
|
|
src: ['<%= concat.pixi.dest %>'],
|
|
dest: '<%= compile_dir %>/pixi.min.js'
|
|
|
|
},
|
|
|
|
creature: {
|
|
|
|
options: {
|
|
sourceMap: '<%= sourcemap %>',
|
|
sourceMapName: '<%= compile_dir %>/creature.map',
|
|
banner: '/* Phaser v<%= package.version %> Creature Build - http://phaser.io - @photonstorm - (c) 2016 Photon Storm Ltd. */\n'
|
|
},
|
|
|
|
src: ['<%= concat.creatureGlobalSplit.dest %>'],
|
|
dest: '<%= compile_dir %>/creature.min.js'
|
|
|
|
},
|
|
|
|
p2: {
|
|
|
|
options: {
|
|
sourceMap: '<%= sourcemap %>',
|
|
sourceMapName: '<%= compile_dir %>/p2.map',
|
|
banner: '/* Phaser v<%= package.version %> P2.JS Build - http://phaser.io - @photonstorm - (c) 2016 Photon Storm Ltd. */\n'
|
|
},
|
|
|
|
src: ['<%= concat.p2GlobalSplit.dest %>'],
|
|
dest: '<%= compile_dir %>/p2.min.js'
|
|
|
|
}
|
|
|
|
};
|