Open jespertheend opened 1 year ago
Isn't browserify meant for CommonJS?
I believe it is. Code intended to be run in the browser is often bundled as commonjs (which I still don't understand the reason for). I was hoping to use browserify to bundle modules like these to something that is runnable in the browser. However, I have already found a different way to solve this. Right now I'm using rollup with some plugins, which works quite nicely.
yea, have no browserify experience though I think you can achieve the "same" or even better with Rollup and Vite which is already working with Deno as well and improving
https://github.com/browserify/browserify