Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
0x77dev opened this issue Aug 16, 2024 · 1 comment

Comments

@0x77dev
Copy link

0x77dev commented Aug 16, 2024

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

@james-astalty
Copy link

We're also noticing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants