search

Home  >  Q&A  >  body text

javascript - What is the process of refactoring code with webpack build tool?

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_u1582phpcn_u15822784 days ago641

reply all(1)I'll reply

  • 为情所困

    为情所困2017-05-16 13:39:19

    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;

    reply
    0
  • Cancelreply