Skip to content

kkkycocho/vite-polyfill-node-kit

Repository files navigation

Polyfill Node.js with Vite (fix @starcoin/starcoin buffer)

Use

  • NodeGlobalsPolyfillPlugin
  • NodeModulesPolyfillPlugin
  • rollupNodePolyFill

Read vite.config.ts and node-modules-polyfill Config

fix @starcoin/starmask-onboarding bowser

Go to node_modules\@starcoin\starmask-onboarding\dist and open starmask-onboarding.es.js

- import { parse } from 'bowser';

// fix
+ import * as Bowser from 'bowser';
+ const parse = Bowser.parse;

How to run

  1. npm install
  2. fix @starcoin/starmask-onboarding bowser
  3. npm run dev
  4. open localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published