This episode introduces the Restructuring jQuery Code series. It looks at the existing code, briefly, showing the one large file that contains everything we previously wrote.
You'll see the basic setup for browserify and babel, as well as the new file and folder structure used to support these tools.
Lastly, you'll see that the upload.js file has been copy and pasted into the new folder structure – but there's a problem. With babel and browserify setup to compile and modify the code, things are no longer working.
Find out why and stay tuned for the next episode where this initial problem is fixed while looking at the first steps of modularizing the upload.js file.