Search posts, tags, users, and pages
Aaron Olsen
Just trying to figure it all out... you know?
Maybe you are just curious, maybe you want more control, or maybe create-react-app just feels dirty. Whatever the reason, let's build a simple React App from scratch using React ^18 and Webpack ^5! First some disclaimers: First. Because this is Javas...
Nicolas Barlatier
You said in the first pic we should get:
. ├── src │ ├── index.html │ └── index.js ├── package.json └── webpack.config.js
But it should be
. ├── src │ ├── index.html │ └── index.js ├── package.json
Webpack.config.js is added later on.
Updated
You said:
What's been added is the defServer key.
But in the config file, it uses "devServer" instead. Typo ?
Thanks for this good tutorial. It helps us to be able to understand how React was made :)
Thank you! Updated. I don't have an editor, so I rely heavily on readers to help. Feedback is very much appreciated.
Nicolas Barlatier
You said in the first pic we should get:
. ├── src │ ├── index.html │ └── index.js ├── package.json └── webpack.config.js
But it should be
. ├── src │ ├── index.html │ └── index.js ├── package.json
Webpack.config.js is added later on.