1.1.0 • Published 7 years ago

phaserify v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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>
...

See also

browserify

phaser-ce


phaserify © 2017 sleeptank MIT license