docs: add webpack 5 note on @project-serum/anchor (#1320)

This commit is contained in:
Alberto Ruiz 2022-01-15 16:32:40 +00:00 committed by GitHub
parent f34287e399
commit 1f95929f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
ts/README.md Normal file
View File

@ -0,0 +1,10 @@
# @project-serum/anchor
[![npm](https://img.shields.io/npm/v/@project-serum/anchor.svg?color=blue)](https://www.npmjs.com/package/@project-serum/anchor)
[![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://project-serum.github.io/anchor/ts/index.html)
TypeScript client for Anchor programs.
## Note
* `@project-serum/anchor` depends on node.js native modules. Therefore, webpack 5 will not work with current version. You will either need to rollback to webpack 4, or use a polyfill for each missing dependency.