From 06f77f8e2da7b4ffd612b231bd42f6e16cff73ec Mon Sep 17 00:00:00 2001 From: Bradford Powell Date: Mon, 14 Feb 2022 10:49:31 -0500 Subject: [PATCH] Fixes invalid `module` field in package.json `module` referred to `src/index.js`, which does not exist. Point to `lib/index.js` instead. Without fixing this, tools like rollup would give an error when trying to include as part of a bundle. Alternatively, could probably just remove the `module` field entirely (since it is the same as `main` in this case) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 276205e..e1dd971 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ ], "license": "MIT", "main": "lib/index.js", - "module": "src/index.js", + "module": "lib/index.js", "repository": { "type": "git", "url": "https://github.com/Autarc/optimal-select.git"