From b87f8a370c06db76979fc82622d2a265c192d126 Mon Sep 17 00:00:00 2001 From: Ray Foss Date: Wed, 8 Dec 2021 22:44:03 -0600 Subject: [PATCH] Use conditional exports https://nodejs.org/api/packages.html#conditional-exports --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2c0b7c0c..759bfee4 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,11 @@ "description": "FeathersJS, Vue, and Nuxt for the artisan developer", "version": "3.16.0", "homepage": "https:feathers-vuex.feathersjs-ecosystem.com", - "main": "dist/", - "module": "dist/", + "main": "dist/index.js", "types": "dist/", + "exports": { + "import": "dist/index.js" + }, "keywords": [ "vue", "feathers",