I’ve been getting along great with my first proper game in Phaser 3. I’ve been using Koala to compile & minify all of my code into a single
game.min.js file, and that’s been working well too.
this.load.plugin('rexbbcodetextplugin', 'js/plugins/rexbbcodetextplugin.min.js', true);
…and again, it works brilliantly. However, I want to be able to compile it into the single
game.min.js along with everything else, and then instantiate the plugin without having to load an external file. But I can’t figure out how on earth to do it.
Does anybody have any ideas? (FYI I’m not using npm or Webpack - just vanilla JS and Koala to pack everything together)