Thanks to an excellent answer by @McMath I now have webpack compiling both my client and my server. I\'m now on to trying to make webpack --watch be useful. Ideally
webpack --watch
Assuming nodemon server.js touch the server.js file afterEmit:
nodemon server.js
server.js
afterEmit
// webpack.config.js module.exports = { // ... plugins: [ // ..., //