Pixi.js + Webpack + Babel
A minimal starting point for experiments with Pixi.js using Webpack and Babel to get the latest ES features.
Clone the repository to use it as a starting point for your own Pixi.js experiments and then remove the remote to clear the way for your own git repo usage
git clone [email protected]:alkamin/pixijs-template.git some-pixi-experiment
cd some-pixi-experiment
npm run reinit
The entry point is src/index.js
which already has a Pixi.js app initialized.
All assets are placed in the src/assets/
directory and will be available to the app at assets/
.
npm run start
- start the development servernpm run build
- build a deployable bundlenpm run reinit
- after cloning the repo, run this command to re-initialize the repository for your own project