From e840ed4f0e601062c7cb727bd71390381644caa6 Mon Sep 17 00:00:00 2001 From: Marcel Gleeson Date: Mon, 27 Nov 2023 22:49:21 +1100 Subject: [PATCH] fix: incorrect export path (#273) Solves this error: ``` Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'node_modules/datastore-s3/src/index.js' ``` Co-authored-by: Alex Potsides --- packages/blockstore-s3/package.json | 2 +- packages/datastore-s3/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blockstore-s3/package.json b/packages/blockstore-s3/package.json index 64f6c934..df99a9c2 100644 --- a/packages/blockstore-s3/package.json +++ b/packages/blockstore-s3/package.json @@ -29,7 +29,7 @@ "exports": { ".": { "types": "./dist/src/index.d.ts", - "import": "./src/index.js" + "import": "./dist/src/index.js" } }, "eslintConfig": { diff --git a/packages/datastore-s3/package.json b/packages/datastore-s3/package.json index e8df34f0..0eca5639 100644 --- a/packages/datastore-s3/package.json +++ b/packages/datastore-s3/package.json @@ -29,7 +29,7 @@ "exports": { ".": { "types": "./dist/src/index.d.ts", - "import": "./src/index.js" + "import": "./dist/src/index.js" } }, "eslintConfig": {