Thanks, man!
Ben Kermode

My pleasure! Yes, it does add a bit of complexity to transpile both the Node.js server and the served browser assets. However, if you’re willing to take the plunge, here is the server webpack config that I use currently:

The template has very specific performance requirements, so you may not need all of the configuration such as the CSS modules. Also, it’s written using webpack-blocks, so please forgive the inconsistency from this article. For the official docs, here’s where webpack mentions multiple targets:

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.