content icon indicating copy to clipboard operation
content copied to clipboard

V2: Prose Components included in HTML file even if never used anywhere in app

Open ManasMadrecha opened this issue 3 years ago • 1 comments

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.

image

Additional context

No response

Logs

No response

ManasMadrecha avatar Jul 30 '22 17:07 ManasMadrecha

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 Feb 07 '25 13:02 github-actions[bot]