Rollup instead of Webpack?


Has anybody successfully gotten Phaser3 working with Rollup? I’ve seen lots of template projects and examples for Phaser2, but with 3, everyone seems to be fully on the Webpack train.

Since Phaser3 itself is packaged with Webpack, that makes sense, but I’m hoping to integrate it into an existing Rollup project, so if I can get by without having to re-setup my build, that would be great.

(My experience with the differences between the two bundlers is minimal, so if this is simply an impossibility or foolish idea, I’d appreciate learning that, too!)


Give it a try. There was one issue, now fixed.