I have written a small native JS project before. The function and structure are relatively rough. I asked for your opinions in other communities. A senior suggested that I refactor it. What is the process like? I have just started using webpack and I know how to use this tool. Students who have experience in this area please give me some advice! Grateful!
Attached is the project github and online display address:
https://github.com/Corbusier/...
https://corbusier.github.io/T...
Let’s start with modularization first;
Although everything in nodejs is a module, it is not an exaggeration to put it in the front-end;
Understand modularization and componentization. In fact, webpack is only a popular option at present. One of the build tools;