Skip to content

A simple command line tool to Browserify the latest PhaserJS CE release.

License

Notifications You must be signed in to change notification settings

sleeptank/phaserify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple command line tool to Browserify the latest PhaserJS CE release.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published