Explorar o código

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

Alberto Ruiz %!s(int64=3) %!d(string=hai) anos
pai
achega
1f95929f1d
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      ts/README.md

+ 10 - 0
ts/README.md

@@ -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.