I tried to Make puppeteer browser version but I failed
the article says to clone the puppeteer repo, install the dependencies and to build with rollup or webpack.
There are a couple of things I am not sure about
should I install the puppeteer repo in my project or ouside of my project ?
should I build my app with rollup or add a rollup build script to the puppeteer project after I cloned it ?
I don't know if my approach is right but I decided to clone puppeteer into my project and build everything with rollup and use my main.ts as an entry point for the rollup build.
Here is my concern : Why would I ever use vite and rollup for the same app ? Isn't one useless at this point ?