text: import 'phaser'
  import '@babel/polyfill'
  
  import MainScene from './scenes/mainScene'
  import PreloadScene from './scenes/preloadScene'
  
  const DEFAULT_WIDTH = 1280
  const DEFAULT_HEIGHT = 720
  
  const config = {
    type: Phaser.AUTO,
    backgroundColor: '#ffffff',
    scale: {
      parent: 'phaser-game',
      mode: Phaser.Scale.FIT,
      autoCenter: Phaser.Scale.CENTER_BOTH,
      width: window.innerWidth,
      height: window.innerHeight
    },
    scene: [PreloadScene, MainScene],
    physics: {
      default: 'arcade',
      arcade: {
        debug: false,
        gravity: { y: 400 }
      }
    }
  }
  
  window.addEventListener('load', () => {
    const game = new Phaser.Game(config)
  })
  