From 35d4fc2fc2367a1b3dcce312cf65b83316edde3b Mon Sep 17 00:00:00 2001 From: Yuchen Liu Date: Wed, 27 Mar 2019 19:54:22 +0800 Subject: [PATCH] fix: set 'module' field properly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b14797abd4..d59ece239c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "6.2.0", "description": "Collection of React Hooks", "main": "lib/index.js", - "module": "lib/es/index.js", + "module": "esm/index.js", "files": [ "lib/", "esm/"