From 92afa6f81b302d67cacfeffd78252bba830f3c37 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 23 Jul 2021 05:39:21 +0800 Subject: [PATCH] fix: revert module field to `esm.js` version, close #769 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ffe683ac..96c7f6ff 100644 --- a/package.json +++ b/package.json @@ -11,13 +11,13 @@ "url": "git+https://github.com/vuejs/composition-api.git" }, "main": "./index.js", - "module": "./dist/vue-composition-api.mjs", + "module": "./dist/vue-composition-api.esm.js", "unpkg": "./dist/vue-composition-api.prod.js", "jsdelivr": "./dist/vue-composition-api.prod.js", "types": "./dist/index.d.ts", "exports": { ".": { - "import": "./dist/vue-composition-api.mjs", + "import": "./dist/vue-composition-api.esm.js", "require": "./index.js" }, "./*": "./*"