fix: inline xterm.css into injected style string (host never loads standalone lib/client.css, helper textarea was visible)

This commit is contained in:
Aisland
2026-08-20 12:39:45 +08:00
parent 3f01b8f4e0
commit be098258b2
7 changed files with 172 additions and 2 deletions
+1
View File
@@ -43,6 +43,7 @@ await build({
target: ['es2022'],
jsx: 'automatic',
external: ['@deepseek-ai/*', 'react', 'react-dom', 'react/jsx-runtime', 'react/jsx-dev-runtime', 'scheduler'],
loader: { '.css': 'text' }, // xterm.css 以文本内联进样式串(宿主不加载独立 css 文件)
banner: clientBanner,
footer: clientFooter,
})