diff --git a/.changeset/breezy-vans-prove.md b/.changeset/breezy-vans-prove.md new file mode 100644 index 000000000000..aeaba5a0d120 --- /dev/null +++ b/.changeset/breezy-vans-prove.md @@ -0,0 +1,12 @@ +--- +'@sveltejs/adapter-auto': patch +'@sveltejs/adapter-cloudflare': patch +'@sveltejs/adapter-cloudflare-workers': patch +'@sveltejs/adapter-netlify': patch +'@sveltejs/adapter-node': patch +'@sveltejs/adapter-static': patch +'@sveltejs/adapter-vercel': patch +'@sveltejs/amp': patch +--- + +chore: remove superfluous main field from package.json diff --git a/packages/adapter-auto/package.json b/packages/adapter-auto/package.json index 22ee8a13e792..28a16a997f84 100644 --- a/packages/adapter-auto/package.json +++ b/packages/adapter-auto/package.json @@ -16,7 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", "types": "index.d.ts", "files": [ "files", diff --git a/packages/adapter-cloudflare-workers/package.json b/packages/adapter-cloudflare-workers/package.json index acad247a8a89..33661c531806 100644 --- a/packages/adapter-cloudflare-workers/package.json +++ b/packages/adapter-cloudflare-workers/package.json @@ -16,7 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", "types": "index.d.ts", "files": [ "ambient.d.ts", diff --git a/packages/adapter-cloudflare/package.json b/packages/adapter-cloudflare/package.json index c3a3e88c04d4..fbbd34e0ad83 100644 --- a/packages/adapter-cloudflare/package.json +++ b/packages/adapter-cloudflare/package.json @@ -23,7 +23,6 @@ "index.d.ts", "ambient.d.ts" ], - "main": "index.js", "scripts": { "build": "esbuild src/worker.js --bundle --outfile=files/worker.js --external:SERVER --external:MANIFEST --format=esm", "lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore", diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index 7ae39879dd60..71e4934d25a7 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -16,7 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", "types": "index.d.ts", "files": [ "files", diff --git a/packages/adapter-node/package.json b/packages/adapter-node/package.json index 296c9feaf006..914e34ca3304 100644 --- a/packages/adapter-node/package.json +++ b/packages/adapter-node/package.json @@ -16,7 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", "types": "index.d.ts", "files": [ "files", diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index 53c1868e3d4a..455d854b947b 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -9,7 +9,6 @@ "license": "MIT", "homepage": "https://kit.svelte.dev", "type": "module", - "main": "index.js", "exports": { ".": { "types": "./index.d.ts", diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index 919d9e6595c9..5a22ba7fc4f1 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -16,7 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", "types": "index.d.ts", "files": [ "files", diff --git a/packages/amp/package.json b/packages/amp/package.json index 19c681ab6a4a..893ace9219eb 100644 --- a/packages/amp/package.json +++ b/packages/amp/package.json @@ -16,7 +16,6 @@ }, "./package.json": "./package.json" }, - "main": "index.js", "types": "index.d.ts", "files": [ "index.js"