@kev1n-peters/vite-plugin-node-polyfills

v0.17.4
A Vite plugin to polyfill Node's Core Modules for browser environments.
node node-core-modules node-polyfills node-stdlib polyfills vite vite-plugin

build

run-s build:core build:shims build:shims:banner build:types

build:core

vite build

build:shims

vite build ./shims

build:shims:banner

vite-node ./shims/banner/build.ts

build:types

run-s typecheck

lint

eslint .

lint:fix

eslint --fix .

test

run-s test:build

test:build

run-p test:build:*

test:build:react

pnpm -C ./examples/react run build

test:build:vanilla

pnpm -C ./examples/vanilla run build

test:build:vue

pnpm -C ./examples/vue run build

test:dev:react

pnpm -C ./examples/react run dev

test:dev:vanilla

pnpm -C ./examples/vanilla run dev

test:dev:vue

pnpm -C ./examples/vue run dev

typecheck

run-p typecheck:*

typecheck:core

tsc

typecheck:react

pnpm -C ./examples/react run typecheck

typecheck:vanilla

pnpm -C ./examples/vanilla run typecheck

typecheck:vue

pnpm -C ./examples/vue run typecheck
npm i @kev1n-peters/vite-plugin-node-polyfills

Metadata

  • MIT
  • Whatever
  • David Myers
  • released 5/8/2024

Downloads

Maintainers