DEV Community

Discussion on: How to configure Webpack 4 or 5 from scratch for a basic website

Collapse
 
lauragyre profile image
Laura Gyre

Thank you, this is the only tutorial I have found that really helped me understand and get the basics of webpack working! However, in case any other beginners are reading, I want to mention that I would not have been able to get past the first section if I hadn't just come from another tutorial that told me to initialize with "npm init -y". When I tried without the -y, a bunch of confusing questions that I didn't know how to answer came up. With -y, everything worked perfectly.

Collapse
 
antonmelnyk profile image
Anton Melnyk • Edited

Yes, a good point! That's one way to do it.

You can just press Enter on each of those questions to accept defaults!

Glad you liked the guide :)