From 0a9342c02d2e22873135fb605c81279e28631065 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 3 Oct 2021 00:39:51 +0100 Subject: [PATCH] fix: add main entrypoints for packages (#629) --- packages/bridge/package.json | 1 - packages/kit/package.json | 2 +- packages/nitro/package.json | 2 +- packages/nuxt3/package.json | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/bridge/package.json b/packages/bridge/package.json index 510652feec..cb1ffd8824 100644 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -5,7 +5,6 @@ "license": "MIT", "type": "module", "exports": "./module.cjs", - "types": "./dist/index.d.ts", "files": [ "module.cjs", "dist" diff --git a/packages/kit/package.json b/packages/kit/package.json index 999da46a71..d11a9117bd 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -4,7 +4,7 @@ "repository": "nuxt/framework", "license": "MIT", "type": "module", - "exports": "./dist/index.mjs", + "main": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist", diff --git a/packages/nitro/package.json b/packages/nitro/package.json index 58d16a1488..cf1cbe9dc4 100644 --- a/packages/nitro/package.json +++ b/packages/nitro/package.json @@ -3,7 +3,7 @@ "version": "0.10.0", "license": "MIT", "type": "module", - "exports": "./dist/index.mjs", + "main": "./dist/index.mjs", "types": "./types/index.d.ts", "files": [ "dist", diff --git a/packages/nuxt3/package.json b/packages/nuxt3/package.json index 6151f76029..eb523e1d3f 100644 --- a/packages/nuxt3/package.json +++ b/packages/nuxt3/package.json @@ -4,7 +4,7 @@ "repository": "nuxt/framework", "license": "MIT", "type": "module", - "exports": "./dist/index.mjs", + "main": "./dist/index.mjs", "types": "./types.d.ts", "bin": { "nuxt": "./bin/nuxt.mjs"