From 2e6224602cc3b95410e8eb459f0f6c92dc1385e0 Mon Sep 17 00:00:00 2001 From: Chen <58675561+HiChen404@users.noreply.github.com> Date: Wed, 8 Feb 2023 22:04:37 +0800 Subject: [PATCH] fix: reorder the types field in package.json (#18880) --- packages/nuxt/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 6ff6052ef8..8beed86cfa 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -13,9 +13,9 @@ "exports": { ".": "./dist/index.mjs", "./config": { + "types": "./config.d.ts", "import": "./config.mjs", - "require": "./config.cjs", - "types": "./config.d.ts" + "require": "./config.cjs" }, "./app": "./dist/app/index.mjs", "./package.json": "./package.json"