vite-plugin-web3-polyfill
v0.0.4
Published
Start using web3/ethers projects with Vite without the hassle of installing global/node polyfills.
Downloads
62
Readme
vite-plugin-web3-polyfill
A plugin that enables you to use Web3/Ethers without installing a bunch of Node global/module polyfills.
Installation
pnpm add vite-plugin-web3-polyfill -D
Usage
import { defineConfig } from 'vite'
import Web3Polyfill from 'vite-plugin-web3-polyfill'
export default defineConfig({
plugins: [Web3Polyfill()]
})
License
MIT