content
content copied to clipboard
V2: Prose Components included in HTML file even if never used anywhere in app
Environment
Nuxt project info:
------------------------------
- Operating System: `Windows_NT`
- Node Version: `v16.13.0`
- Nuxt Version: `3.0.0-rc.6`
- Package Manager: `[email protected]`
- Builder: `vite`
- User Config: `modules`
- Runtime Modules: `@nuxt/[email protected]`, `@unocss/[email protected]`
- Build Modules: `-`
------------------------------
Reproduction
Just create a new app with 1 or 2 markdown pages with just Lorem Ipsum content, and generate it.
Describe the bug
Nuxt is supposed to not auto import components in final production build, if they are not used anywhere, right? Well, it still does.

Additional context
No response
Logs
No response
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.