Skip to content

Commit 7593a7b

Browse files
authored
fix: remove transformedCSS <style> wrap (#129)
1 parent 649914f commit 7593a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loaders/windicss-template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function WindicssTemplate(
7878
return def(transformedCSS, match)
7979
}
8080
const transformedCSS = transformCSS(service, css, this.resource)
81-
return `<style${meta}>\n${transformedCSS}\n</style>`
81+
return `<style${meta}>${transformedCSS}</style>`
8282
})
8383
debug.loader('Transformed template ', this.resource)
8484
const transformed = service.transformGroups(templateWithTransformedCSS)

0 commit comments

Comments
 (0)