10

Related: "Webpack for back-end?"

"There's no reason not to use webpack for node/io.js code..."

"The grand goal of packing an entire application" through weback.

What is the purpose of using Webpack to bundle server side code?

Are there any advantages of using Webpack + Node as opposed to Node on its own?

  • Hot reload you say? Is hot reloading really that much better than automatic server restarts (via nodemon or related tools) during development?
  • Aliases to end the ../../../../ nightmare? There plenty of other solutions, including the babel-plugin-module-resolver.

What about if you are building a web app with a Node (Express) backend and a React frontend - specifically, a frontend built with Create React App, which comes with Webpack pre-configured?

I had updated my question to include the references that had prompted me to ask this question and yet it was still put on hold. Why is this?

Palisand
  • 1,302
  • 1
  • 14
  • 34
  • where are you seeing Webpack used to bundle server-side code? Do you want to add a reference for where this is suggested as a good thing? – Davin Tryon Nov 29 '17 at 22:12
  • You mean to tell me you can use Webpack as a server-side build tool without having to bundle code? I thought the main point of Webpack was to generate bundles, so any suggestions for using it with node implicitly suggest bundling. You bring up a good point on my lack of references, I'll update the question soon. – Palisand Nov 29 '17 at 22:53

0 Answers0