phaserify
v1.1.0
Published
A simple command line tool to Browserify the latest PhaserJS CE release.
Downloads
8
Maintainers
Readme
phaserify
A simple command line tool to Browserify the latest Phaser-CE release.
Helps keep your development bundle light for compilation.
Install
npm i -g phaserify
Usage
phaserify [dest_dir]
Example
Bundle phaser-ce and place the phaser-bundle.js in the working directory:
phaserify
Bundle and place in a specific directory (relative to the working path):
phaserify dist
You can include your phaser-bundle.js along with your bundle.js:
...
<script src='./phaser-bundle.js'></script>
<script src='./bundle.js'></script>
...