To Webpack or not to Webpack

mlichwa

Michal Lichwa

Posted on September 13, 2018

To Webpack or not to Webpack

I'm working on a simple microsite with a set budget. Nothing fancy- bootstrap+ jQuery + css and html. My first instinct was to start a new project with npm and then install Webpack. I have a few working sites built with Webpack but I wouldn't call myself proficient using it. Each time I use it, I have to look up all the tricks Webpack is capable of. Loaders for: css, scss, fonts, html, jpg assets. Plugins for global jQuery with '$', bootstrap module import, js minifiers, sass and css minifiers and a Webpack server for continuous builds.

Setting it up would take at lest 2 hours from my budget. I would feel better having code automation but I'm not sure if the client would notice. Also, using Webpack assumes that the person who will be making code changes in the future will know how to use it too...

I wonder where is the line between using Webpack and simply coding it the traditional way.

💖 💪 🙅 🚩
mlichwa
Michal Lichwa

Posted on September 13, 2018

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

[Micro frontends] Getting Started
webdev [Micro frontends] Getting Started

February 10, 2023

To Webpack or not to Webpack
web To Webpack or not to Webpack

September 13, 2018