From 60b9f7c86d06be49de4c2e9caffb64fa8e74495a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Fri, 27 Jan 2023 21:22:39 +0800 Subject: [PATCH] fix: move types to the first field (#270) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f846014a..a8419750 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "sideEffects": false, "exports": { ".": { + "types": "./dist/index.d.ts", "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "import": "./dist/index.mjs" }, "./dist/webpack/loaders/load": "./dist/webpack/loaders/load.js", "./dist/webpack/loaders/transform": "./dist/webpack/loaders/transform.js"