feat(nuxt): add support for `nuxt/kit` subpath for local use (#19422)

This commit is contained in:
Daniel Roe 2023-03-03 14:48:04 +00:00 committed by GitHub
parent 7131aef820
commit bc9ffa4d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

1
packages/nuxt/kit.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from '@nuxt/kit'

1
packages/nuxt/kit.mjs Normal file
View File

@ -0,0 +1 @@
export * from '@nuxt/kit'

View File

@ -21,6 +21,10 @@
"types": "./schema.d.ts",
"import": "./schema.mjs"
},
"./kit": {
"types": "./kit.d.ts",
"import": "./kit.mjs"
},
"./app": "./dist/app/index.mjs",
"./package.json": "./package.json"
},