DEV Community

Discussion on: I maintain webpack, ask me anything!

Collapse
 
thelarkinn profile image
Sean Larkin

Such a loaded question/answer.

Really you should always identify what are you needs for the project you are working on. I am a huge believer in Solution Architecture. I'll give you an example and why I chose webpack.

  • Really incredible developer experience that is flexible enough to work for any web project large, or small.
  • A tool that could optimize my JavaScript in a way so that I could split out pieces async without having to manually defining these pieces. (Statically).
  • Something that could let me tie and stitch together all of my assets as dependencies of my project.
  • A tool that is completely configurable, so much that the project even dogfoods it's own plugin system.
  • Out of the box dev server that let me have instant reload on the browser when I changed a file.
  • A build tool that will let me use JavaScript modules (CJS, ESM), and make them work on the browser. * et