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.
srcDir
1 parent 0e8dcbb commit 134aa79Copy full SHA for 134aa79
packages/astro/src/index.ts
@@ -43,7 +43,7 @@ export default function UnoCSSAstroIntegration<Theme extends {}>(
43
// Adding components to UnoCSS's extra content
44
options.extraContent ||= {}
45
options.extraContent.filesystem ||= []
46
- options.extraContent.filesystem.push(resolve(fileURLToPath(config.root), 'src/components/**/*').replace(/\\/g, '/'))
+ options.extraContent.filesystem.push(resolve(fileURLToPath(config.srcDir), 'components/**/*').replace(/\\/g, '/'))
47
48
config.vite.plugins ||= []
49
config.vite.plugins.push(...VitePlugin(options, defaults) as any)
0 commit comments