Skip to content

Commit

Permalink
fix: remove transformedCSS <style> wrap (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkxrb authored Sep 14, 2023
1 parent 649914f commit 7593a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loaders/windicss-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function WindicssTemplate(
return def(transformedCSS, match)
}
const transformedCSS = transformCSS(service, css, this.resource)
return `<style${meta}>\n${transformedCSS}\n</style>`
return `<style${meta}>${transformedCSS}</style>`
})
debug.loader('Transformed template ', this.resource)
const transformed = service.transformGroups(templateWithTransformedCSS)
Expand Down

0 comments on commit 7593a7b

Please sign in to comment.