davidfig / pixi-viewport

A highly configurable viewport/2D camera designed to work with pixi.js
https://davidfig.github.io/pixi-viewport/
MIT License
1.04k stars 174 forks source link

How to build a bundle or minified version for browser? #54

Closed navigator117 closed 6 years ago

navigator117 commented 6 years ago

How to build a bundle or minified version for browser?

davidfig commented 6 years ago

I added a minified version in the releases: https://github.com/davidfig/pixi-viewport/releases/tag/2.2.1

Include it after pixi.js and reference it in PIXI.extras.Viewport. I added a quick example in the readme file.