feat: add support for browser es modules

This commit is contained in:
Justin Starry
2021-02-02 10:53:24 +08:00
committed by Justin Starry
parent bbae23358c
commit 08ff2d12f2
20 changed files with 4235 additions and 8432 deletions

1
web3.js/module.d.ts vendored
View File

@ -1,4 +1,5 @@
declare module '@solana/web3.js' {
import {Buffer} from 'buffer';
import * as BufferLayout from 'buffer-layout';
// === src/publickey.js ===