Commit 6ce246c1 authored by wildfirecode's avatar wildfirecode

重新构建dist

parent e7fc163e
node_modules
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
require('./polyfills');
var CONST = require('./const');
var Extend = require('./utils/object/Extend');
/**
* @namespace Phaser
*/
var Phaser = {
Actions: require('./actions'),
Animation: require('./animations'),
Cache: require('./cache'),
Cameras: require('./cameras'),
Class: require('./utils/Class'),
Create: require('./create'),
Curves: require('./curves'),
Data: require('./data'),
Display: require('./display'),
DOM: require('./dom'),
EventEmitter: require('./events/EventEmitter'),
Game: require('./boot/Game'),
GameObjects: require('./gameobjects'),
Geom: require('./geom'),
Input: require('./input'),
Loader: require('./loader'),
Math: require('./math'),
Physics: {
Matter: require('./physics/matter-js')
},
Scene: require('./scene/Scene'),
Scenes: require('./scene'),
Sound: require('./sound'),
Structs: require('./structs'),
Textures: require('./textures'),
Tilemaps: require('./tilemaps'),
Time: require('./time'),
Tweens: require('./tweens'),
Utils: require('./utils')
};
// Merge in the consts
Phaser = Extend(false, Phaser, CONST);
// Export it
module.exports = Phaser;
global.Phaser = Phaser;
/*
* "Documentation is like sex: when it is good, it is very, very good;
* and when it is bad, it is better than nothing."
* -- Dick Brandon
*/
...@@ -13,7 +13,9 @@ module.exports = { ...@@ -13,7 +13,9 @@ module.exports = {
phaser: './phaser.js', phaser: './phaser.js',
'phaser.min': './phaser.js', 'phaser.min': './phaser.js',
'phaser-arcade-physics': './phaser-arcade-physics.js', 'phaser-arcade-physics': './phaser-arcade-physics.js',
'phaser-arcade-physics.min': './phaser-arcade-physics.js' 'phaser-arcade-physics.min': './phaser-arcade-physics.js',
'phaser-matter-physics.min': './phaser-matter-physics.js',
'phaser-matter-physics': './phaser-matter-physics.js'
}, },
output: { output: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment