We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f39f39 commit 1a48095Copy full SHA for 1a48095
src/utils/templates.ts
@@ -127,7 +127,19 @@ export const componentsManifestTemplate = (manifest: Manifest) => {
127
write: true,
128
getContents: ({ app, nuxt, options }) => {
129
const componentsMap = app.components
130
- .filter(c => !c.island && (nuxt.options.dev || options.manifest.components.includes(c.pascalName) || c.global))
+ .filter((c) => {
131
+ // Ignore island components
132
+ if (c.island) {
133
+ return false
134
+ }
135
+
136
+ // Ignore css modules
137
+ if (c.filePath.endsWith('.css')) {
138
139
140
141
+ return nuxt.options.dev || options.manifest.components.includes(c.pascalName) || c.global
142
+ })
143
.reduce((map, c) => {
144
map[c.pascalName] = map[c.pascalName] || [
145
c.pascalName,
0 commit comments