This repository was archived by the owner on Jul 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ export default {
114
114
}
115
115
}
116
116
if ( inlineCSS ) {
117
- resBody += `\nimport { applyCSS as __applyCSS } from "${
117
+ code += `\nimport { applyCSS as __applyCSS } from "${
118
118
toLocalPath ( alephPkgUri )
119
- } /framework/core/style.ts";\n__applyCSS(${ JSON . stringify ( specifier ) } , ${ JSON . stringify ( inlineCSS ) } );`;
119
+ } /framework/core/style.ts";\n__applyCSS(${ JSON . stringify ( specifier ) } , ${ JSON . stringify ( inlineCSS ) } );\n `;
120
120
deps = [ ...( deps || [ ] ) , { specifier : alephPkgUri + "/framework/core/style.ts" } ] as typeof deps ;
121
121
}
122
122
clientDependencyGraph . mark ( specifier , { deps } ) ;
@@ -128,7 +128,7 @@ export default {
128
128
}
129
129
m . sourcesContent = [ rawCode ] ;
130
130
resBody = code +
131
- `\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${ btoa ( JSON . stringify ( m ) ) } ` ;
131
+ `\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${ btoa ( JSON . stringify ( m ) ) } \n ` ;
132
132
} catch {
133
133
log . warn ( `Failed to add source map for '${ specifier } '` ) ;
134
134
resBody = code ;
You can’t perform that action at this time.
0 commit comments