Phaser Manifest Loader

The Phaser Manifest Loader lets you easily load assets that have been compressed and fingerprinted by webpack.

image

Matt Coleman has released the Phaser Manifest Loader plugin. It means you can load assets that have been compressed and fingerprinted by webpack as easily as this:

const manifest = {
  spritesheets: [
    'creature1',
    'creature2'
  ],
  'bitmap_fonts': [
    'bitmapfont'
  ],
  'audio': [
    'blip'
  ],
  'images': [
    'phaser_logo',
    'webpack_logo'        
  ],
  fonts: {
    custom: {
      families: [
        'bebas_neuebold'
      ]
    },
    google: {
      families: [
        'Bangers'
      ]
    }
  }
}

Allowing you and your team to let webpack worry about asset packaging and updates.

Read More