Skip to content

Using build config make markdown mandatory to be set #3426

@edimitchel

Description

@edimitchel

Environment

N/A

Version

v3

Reproduction

Not an issue about reproduction but TypeScript

Description

When I want to add a transformer to my Nuxt Content application, adding the field transformers alone is making the validation of build type to fail.

  content: {
    build: {
//  ~~~~~ => missing markdown
      transformers: ['~~/transformers/article-metadata'],
    }
  },

I had to add markdown: {} to avoid the typescript error.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions