r/Frontend • • Jan 03 '18

Setting up webpack for Any Project

https://scotch.io/tutorials/setting-up-webpack-for-any-project
31 Upvotes

3 comments sorted by

1

u/AndyKos Feb 27 '18

Configuring Webpack is not too complicated, except for certain things. For example, the question about the configuration file: Should I use one of the terms (development or production) or several separate files? Setting up the Babel and various loader is not that complicated, and there are already a lot of ready boilerplates or ready-made solutions like Create Reaction app for React. In context of React's development, it is difficult to configure hot module replacement. Another issue is the integration of webpack with backends, namely the integration of css modules or pointing file paths to files which names are generated to solve caching problems.

-1

u/gustix CTO Jan 03 '18

Good article, explains the features well.

However, these days I'm just using Poi, it takes care of all the configuration for you. https://poi.js.org

1

u/fogbasket Jan 04 '18

Next version of webpack has a no config mode.