8000 Update wc.loader.ts · joshbrew/graphscript@81827e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 81827e6

Browse files
committed
Update wc.loader.ts
1 parent 4d22f68 commit 81827e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loaders/html/wc.loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const wchtmlloader = (
4545
if(!(node.__props instanceof HTMLElement)) return;
4646

4747
} else if (typeof node.__css === 'string') {
48-
node.__template = `<style> ${node.__css} </style>`; delete node.__css;
48+
node.__template += `<style> ${node.__css} </style>`; delete node.__css;
4949
}
5050

5151
if (node.__template) {

0 commit comments

Comments
 (0)
0