denoland / wanted_modules

Is there a missing deno module that is preventing you from building something? Let us know here.
https://deno.land/x
46 stars 2 forks source link

browserify #55

Open jespertheend opened 1 year ago

jespertheend commented 1 year ago

https://github.com/browserify/browserify

retraigo commented 1 year ago

Isn't browserify meant for CommonJS?

jespertheend commented 1 year ago

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.

CanRau commented 1 year ago

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