content icon indicating copy to clipboard operation
content copied to clipboard

The source glob pattern, "**/*.md", doesn't work

Open LoTwT opened this issue 5 months ago • 1 comments

Environment

  • Operating System: Darwin
  • Node Version: v22.16.0
  • Nuxt Version: 3.17.5
  • CLI Version: 3.25.1
  • Nitro Version: 2.11.12
  • Package Manager: [email protected]
  • Builder: -
  • User Config: compatibilityDate, devtools, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Version

v3

Reproduction

https://github.com/LoTwT/nuxt-content-reproduction-0617

The project is initiated by pnpm create nuxt

Description

The source glob pattern, "/*.md", doesn't work for subdirectories, but "" works. But the doc says that "**/*.md" should work.

Image

https://github.com/user-attachments/assets/f32837ce-bb01-4771-8e56-5013dcff6d2f

Additional context

No response

Logs


LoTwT avatar Jun 17 '25 07:06 LoTwT

Thoughts? Can work on a PR if this is beneficial.

Definitely, please go ahead :)

tipsy avatar Mar 02 '25 19:03 tipsy

@Petersoj Could you review the PR ?

tipsy avatar Sep 21 '25 15:09 tipsy

@tipsy did a quick scan and it looks good to me 👍

Petersoj avatar Sep 21 '25 18:09 Petersoj