simiancraft / create-phaser-app

Phaser 3, Webpack 4, Babel 7+boilerplate and a scaffold
https://simiancraft.github.io/create-phaser-app/
Other
373 stars 29 forks source link

change the sounds template #72

Open the-simian opened 5 years ago

the-simian commented 5 years ago
    let template = `
${_importsString};
import {Howl, Howler} from 'howler';
const soundsConfig = ${_json};
const sounds = new Howl(soundsConfig)
export default sounds;
export { Howl, Howler, sounds, soundsConfig };
`;