vite-plugin-node-stdlib-browser icon indicating copy to clipboard operation
vite-plugin-node-stdlib-browser copied to clipboard

Configure `node-stdlib-browser` for Vite projects.

Results 8 vite-plugin-node-stdlib-browser issues
Sort by recently updated
recently updated
newest added

Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable...

the peer dependencies mention vite 4.0, but it should be fine to add vite 5.0 as well I think. Just when you have a moment. (happy to do a PR...

hi sodatea. i have a problem with vite and your plugin and web browser automation drives (like puppeteer and webdriverio) this packages need libraries like fs and i used your...

In documentation it says that `node:` protocol resolve is not implemented, but what I’ve found from the latest version is that Vite now supports that.

There is a crucial difference in [requiring main package inside .cjs file](https://github.com/sodatea/vite-plugin-node-stdlib-browser/blob/main/index.cjs#L2) and [using dynamic `import` as mentioned in official documentation](https://github.com/niksy/node-stdlib-browser#:~:text=const%20%7B%20default%3A%20stdLibBrowser%20%7D%20%3D%20await%20import(%27node%2Dstdlib%2Dbrowser%27)%3B). If you use require, Vite treats every export from...

Our project has some dependencies that expect process to be globally available (ie. it's not being imported directly). Is there a way to use this plugin and Vite configuration to...

Hi @sodatea, I used this plugin in my project and it works on the dev server but failed on the preview build with the error `process is not defined` When...