From c221dc4e5aa545035a4f43c5ef1b799a3b4ed0dd Mon Sep 17 00:00:00 2001 From: Vuong Phan <13298232+thevuong@users.noreply.github.com> Date: Tue, 12 Sep 2023 07:51:29 +0700 Subject: [PATCH] Update package.json for module and main entry points --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3267b048..c0e80f6d 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,8 @@ "name": "world-countries", "description": "List of world countries in JSON, CSV, XML and Yaml", "version": "4.1.1", - "exports": { - "import": "./index.mjs", - "require": "./index.cjs" - }, + "module": "./index.mjs", + "main": "./index.cjs", "types": "index.d.ts", "keywords": ["countries", "world", "json", "csv", "xml", "yaml"], "author": {