Can't find static folder in express bundled by webpack (SSR)
After scouring a lot of questions, github issues and reading the bundled js.
It wasn't a problem with the server code. See: https://github.com/webpack/webpack/issues/1599
I needed to add this to my webpack.server.js:
node: { __dirname: false,},