phaserify

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i phaserify

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • sleeptank