Not so long ago I went on a quest of creating my own webpack boilerplate...what a quest that was 😅 Still trying to improve it.
I highly recommend looking into create-react-app internals. There are many interesting things under the hood. I borrowed quite a lot :)
Also, at work, we had issues with contenthash with javascript files when running npm run start. It was somehow related to chunks. So, the solution was to add contenthash only when building for production 🤷♂️
Not so long ago I went on a quest of creating my own webpack boilerplate...what a quest that was 😅 Still trying to improve it.
I highly recommend looking into create-react-app internals. There are many interesting things under the hood. I borrowed quite a lot :)
Also, at work, we had issues with
contenthash
with javascript files when runningnpm run start
. It was somehow related to chunks. So, the solution was to addcontenthash
only when building for production 🤷♂️Really interesting, I will be looking into that!