`rollup-plugin-inject` failed to parse onig.wasm
Environment
- Operating System: Darwin
- Node Version: v20.11.0
- Nuxt Version: 3.9.3
- CLI Version: 3.10.0
- Nitro Version: 2.8.1
- Package Manager: [email protected]
- Builder: -
- User Config: devtools, modules, content
- Runtime Modules: @nuxt/[email protected]
- Build Modules: -
Reproduction
Start a fresh Nuxt Content project with:
pnpm dlx nuxi@latest init content-app -t content
Define configuration:
export default defineNuxtConfig({
devtools: { enabled: false },
modules: ["@nuxt/content"],
content: {
highlight: {
theme: {
dark: "github-dark",
light: "github-light",
},
},
},
});
Start the development server:
pnpm dev
Describe the bug
A warning message appears on the console. Is this the expected result? There seems to be no such problem in the previous version.
Additional context
No response
Logs
No response
FYI, I believe that this is causing code highlighting to fail on 2.11.0 when running in development mode (via nuxi dev).
You can safely ignore this warning (will be solved in next minor version of Nitro).
If you are facing a syntax highlighter failing to work, it might be another issue. Please provide a reproduction 🙏🏼
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.
Same problem but i don't use @nuxt/[email protected] I think problem from the who is shiki ?