From 3fe42f2d6bcd52e9b34e015d110280eb412254dc Mon Sep 17 00:00:00 2001 From: rekyyang <511965710@qq.com> Date: Mon, 27 May 2024 16:00:03 +0800 Subject: [PATCH] fix: main&type (#9) --- .changeset/kind-hotels-stare.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/kind-hotels-stare.md diff --git a/.changeset/kind-hotels-stare.md b/.changeset/kind-hotels-stare.md new file mode 100644 index 0000000..2667f87 --- /dev/null +++ b/.changeset/kind-hotels-stare.md @@ -0,0 +1,5 @@ +--- +"@node-real/web3-plugin-bundle": minor +--- + +fix package main&type diff --git a/package.json b/package.json index d922301..61e6834 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "@node-real/web3-plugin-bundle", "version": "2.0.0", "description": "bundle plugin to extend web3.js with additional methods", - "main": "lib/index.js", - "types": "lib/index.d.ts", + "main": "dist/esm/index.js", + "types": "dist/esm/index.d.ts", "homepage": "https://github.com/node-real/web3.js-plugin-bundle#readme", "bugs": { "url": "https://github.com/node-real/web3.js-plugin-bundle/issues"