phaser3-nineslice
phaser3-nineslice copied to clipboard
deep-import phaser modules
import each phaser module individually, aka deep-import. this is a good practice, makes tree shaking unnecessary, and dramatically decreases bundle size. on my setup, this change made the main bundle 62% smaller on production (minified) build: