“I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
After configuring the development setup with Storybook for JS, CSS and other assets, it's time to finally create a build pipeline to publish our HTML, JS and CSS with Webpack.
Managing Javascript, stylesheets, and other assets in the pipeline can be a difficult task. We have problems like: How do we get rid of the React runtime in the bundle? How do we optimize our CSS files? And how do we deal with the static files?
React is good and we love using it but we just don't want it inside our compiled HTML, CSS, and Javascript.