javascript - What is the process of refactoring code with webpack build tool?
phpcn_u1582
phpcn_u1582 2017-05-16 13:37:19
0
1
570

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...

phpcn_u1582
phpcn_u1582

reply all(1)
为情所困

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;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!