content icon indicating copy to clipboard operation
content copied to clipboard

The MDC files are available during development but not after the build process

Open 0x77dev opened this issue 1 year ago • 2 comments

Environment

- Operating System: `Darwin`
- Node Version:     `v20.14.0`
- Nuxt Version:     `3.12.4`
- CLI Version:      `3.12.0`
- Nitro Version:    `2.9.7`
- Package Manager:  `[email protected]`
- Builder:          `-`
- User Config:      `experimental`, `runtimeConfig`, `appConfig`, `devtools`, `routeRules`, `nitro`, `extends`, `modules`, `ui`, `image`, `vite`, `future`, `pwa`, `content`, `wellKnown`, `build`, `app`, `compatibilityDate`
- Runtime Modules:  `@nuxt/content@^2.13.2`, `@nuxt/ui@^2.17.0`, `@zadigetvoltaire/nuxt-well-known@^0.0.13`, `nuxt-time@^0.1.3`, `@formkit/auto-animate/nuxt@^0.8.2`, `@nuxt/[email protected]`, `@vite-pwa/[email protected]`, `@nuxt/eslint@^0.5.0`
- Build Modules:    `-`

Reproduction

Just place .mdc files in the content folder and try to build. Then, send a GET request to http://localhost:3000/api/_content/query. The list does not contain the Markdown (.mdc) content, while in development it does. However, the .md files work in both development and build environments.

Describe the bug

The MDC (.mdc) files are available during development, but they are not included after the build process. However, the Markdown (.md) files are working as intended.

Additional context

No response

Logs

No response

0x77dev avatar Aug 16 '24 21:08 0x77dev

We're also noticing this.

james-astalty avatar Aug 20 '24 03:08 james-astalty

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Oct 20 '24 02:10 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Nov 20 '24 02:11 github-actions[bot]