Hi,
It's very difficult for me every time when I need to make any changes ( tried to give support for LESS and wanted to add material-design-lite.css into the project ) in the webpack.config.js file in the Angular Material 2 project code, which I am using for understanding purposes.
I need to bake a production ready as well for my project with webpack and Angular 2.
Appreciate your help in advance.
Here is a nice course on Pluralsight - Webpack Fundamentals: pluralsight.com/courses/webpack-fundamentals
I have a real-world Webpack config with comments here: github.com/koistya/react-static-boilerplate/blob/… Do these comments help? Please, let me know if some comments are missing or confusing.
Marcus
Full Stack Developer
Juho Vepsäläinen
SurviveJS
I don't see a direct Webpack dependency in the project so it's hard to give any project specific advice.
If you want to learn Webpack step by step, I've written a small guide for that purpose. It can be a difficult tool to learn given it is so complex, but once you understand the ideas behind it, it gets a little easier.
If you have specific questions about the topic, feel free to join the book chat.