Skip to content

xparcai/vite-plugin-node-browser

Repository files navigation

vite-plugin-node-browser

NPM version

vite-plugin-node-browser for vite.

Based on node-stdlib-browser.

Support vite5, forked from vite-plugin-node-stdlib-browser

Install

npm i vite-plugin-node-browser

Usage

// vite.config.js
import NodeBrowser from 'vite-plugin-node-browser'

export default defineConfig({
  plugins: [
    NodeBrowser({
      /* options */ 
    })
  ],
})

License

MIT License © 2023 xparcai