image

Emanuele Feronato writes: "The idea behind this basic guide came for two reasons:

1 – There isn’t a basic webpack guide around the web. Actually. I mean it. Most – but I’d rather say “all” – recent tutorials you can find around the web do not cover the bare bones of webpack, so I think a “Hello World” is needed.

2 – Most HTML5 game publishers want your game to fit in one single JavaScript file, and while you should be able to build a game in a single file, what about frameworks like Phaser and other kind of dependencies?

There should be a better way to handle this task.

And here it comes webpack: an open source JavaScript module bundler."

Read More