summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/integrations/vercel/package.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index a7ca9361b..dcadf3586 100644
--- a/packages/integrations/vercel/package.json
+++ b/packages/integrations/vercel/package.json
@@ -3,7 +3,6 @@
"description": "Deploy your site to Vercel",
"version": "0.2.0",
"type": "module",
- "types": "./dist/index.d.ts",
"author": "withastro",
"license": "MIT",
"repository": {
@@ -21,6 +20,19 @@
"./static": "./dist/serverless/adapter.js",
"./package.json": "./package.json"
},
+ "typesVersions": {
+ "*": {
+ "edge": [
+ "dist/edge/adapter.d.ts"
+ ],
+ "serverless": [
+ "dist/serverless/adapter.d.ts"
+ ],
+ "static": [
+ "dist/static/adapter.d.ts"
+ ]
+ }
+ },
"scripts": {
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",