From f95779b5ea78b93b3d924909cf526f84c3bab472 Mon Sep 17 00:00:00 2001 From: zhengyutay Date: Wed, 1 Jun 2022 15:29:53 +0800 Subject: [PATCH] fix: remove default type module - to let end user to decide which to import by their compiler instead of defaulting to es module --- packages/anchor-contrib/package.json | 1 - packages/chai-solana/package.json | 1 - packages/option-utils/package.json | 1 - packages/solana-contrib/package.json | 1 - 4 files changed, 4 deletions(-) diff --git a/packages/anchor-contrib/package.json b/packages/anchor-contrib/package.json index 11eadd767..8da72f876 100644 --- a/packages/anchor-contrib/package.json +++ b/packages/anchor-contrib/package.json @@ -8,7 +8,6 @@ "funding": "https://www.coingecko.com/en/coins/saber", "author": "Saber Team ", "license": "Apache-2.0", - "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", diff --git a/packages/chai-solana/package.json b/packages/chai-solana/package.json index a8cfccaf2..406886768 100644 --- a/packages/chai-solana/package.json +++ b/packages/chai-solana/package.json @@ -12,7 +12,6 @@ "clean": "rm -fr dist/", "prepublishOnly": "npm run build" }, - "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", diff --git a/packages/option-utils/package.json b/packages/option-utils/package.json index 2f4bec365..d75560789 100644 --- a/packages/option-utils/package.json +++ b/packages/option-utils/package.json @@ -8,7 +8,6 @@ "funding": "https://www.coingecko.com/en/coins/saber", "author": "Saber Team ", "license": "Apache-2.0", - "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", diff --git a/packages/solana-contrib/package.json b/packages/solana-contrib/package.json index 6f5291523..f95d8ab46 100644 --- a/packages/solana-contrib/package.json +++ b/packages/solana-contrib/package.json @@ -13,7 +13,6 @@ "clean": "rm -fr dist/", "prepublishOnly": "npm run build" }, - "type": "module", "exports": { ".": { "import": "./dist/esm/index.js",