refactor(nuxt): remove old reference to nuxt-config-schema (#25067)

This commit is contained in:
Pooya Parsa 2024-01-05 12:21:29 +01:00 committed by GitHub
parent fd812ef636
commit 0add7bdf5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,6 @@ export default defineNuxtModule({
// Register module types
nuxt.hook('prepare:types', async (ctx) => {
ctx.references.push({ path: 'nuxt-config-schema' })
ctx.references.push({ path: 'schema/nuxt.schema.d.ts' })
if (nuxt.options._prepare) {
await writeSchema(schema)