Vibe Coding

This lesson is part of Vibe Coding.

Unlock this course →Already bought it? Log in

Minify the code, then the privacy policy

2:32

Auth works, payment works, the pro plan works. Now getting it store-ready: minifying (47% smaller — I used to do this by hand on uglifyjs), and the privacy policy page the Web Store won't let you skip.

Transcript preview

Okay, so we have a few things figured out. We have the authentication working, we have the payment understanding, like the pro plan working. Now it's time to get the extension live on Chrome Web Store. So for that, we need to go here, Chrome Web Store. Where is it? Chrome Web Store Developer, Developer. That was Web Copilot, right? So I'll, I need to cancel this, cancel it again, then go for Web Copilot. There we go. Click on new item. Okay, so I'll say what it is now. Hey man, need to upload it to Web Store, Chrome Web Store Developer dashboard. Can you mini fire the code please? So this is very interesting. I used to do this manually, there is a website called Ugly5JS, Ugly5JS. So what happens is you have all this code, right, I'm just going to first place it here. So we have all this code. Now when you upload this Chrome extension on, it will be something's S. Yeah, Sakalman, this guy. Thank you very much, this guy. I've been using it for five years, I guess. So yeah, that's good, it can do that. So what happens is we don't want this code to be directly pushed, it will be a little bit higher size of the extension, to make the size of the code smaller, we basically minify it, Ugly5, what it does it, it will get rid of all the spaces, it will rename the things. So for example, tab name will become X, Y, or something like that. So you get it like, basically it will just be much, much smaller. It really makes a difference. To show you, I'm just going to copy this code. Again, this is not the code which is going to go in the code anyways, but you will see 47% saved because of the minify. So I always used to do this, a kind of a must thing.

The full lesson — video and transcript — is part of Vibe Coding.

Get Vibe Coding