File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ export default defineNuxtModule<ModuleOptions>({
136136 const assetDir = resolve ( "runtime/assets" )
137137 const tailwindFiles = globFiles ( [
138138 `${ assetDir } /**/*.css` ,
139- `!${ assetDir } /**/tailwind.css`
139+ `!${ assetDir } /**/tailwind.css` ,
140+ `!${ assetDir } /**/theme.css`
140141 ] , [ ] )
141142
142143 addTemplate ( {
@@ -150,7 +151,7 @@ export default defineNuxtModule<ModuleOptions>({
150151 `
151152 : crop `
152153 ${ indent ( themeAsTailwindCss ( theme , themeConvertionOpts ) , 5 ) }
153- ${ indent ( tailwindFiles . map ( _ => `@import "${ _ . filepath . replace ( assetDir , "@witchcraft/ui/ " ) } ";` ) . join ( "\n" ) , 5 ) }
154+ ${ indent ( tailwindFiles . map ( _ => `@import "${ _ . filepath . replace ( assetDir , "@witchcraft/ui" ) } ";` ) . join ( "\n" ) , 5 ) }
154155 ${ indent ( filteredComponentsInfo . map ( _ => `@source "${ _ . filepath } ";` ) . join ( "\n" ) , 5 ) }
155156 `
156157 } )
You can’t perform that action at this time.
0 commit comments