From 1d720e96fd033a19c3be704ae4f95d70149b9bb0 Mon Sep 17 00:00:00 2001 From: Dony Sukardi Date: Tue, 28 Sep 2021 18:53:13 +0800 Subject: [PATCH] Update obsolete `default` exports in package.json --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 42d786cc..ff3d6780 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ The filenames and paths for generated bundles in each format are defined by the "module": "dist/foo.m.js", // ES Modules output bundle "exports": { "require": "./dist/foo.js", // CommonJS output bundle - "default": "./dist/foo.modern.js", // Modern ES Modules output bundle + "import": "./dist/foo.modern.js", // Modern ES Modules output bundle }, "types": "dist/foo.d.ts" // TypeScript typings directory }