Revert "fix(client): declare browser-only externals as devDependencies"

This commit is contained in:
imccyu
2026-08-15 02:19:09 +08:00
committed by GitHub
parent 6c18b04a6b
commit f2830fec6d
54 changed files with 293 additions and 1096 deletions

View File

@@ -26,7 +26,9 @@
},
"license": "MIT",
"dependencies": {
"@deepseek-ai/dsh-client-web": "workspace:^"
"@deepseek-ai/dsh-client-web": "workspace:^",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@deepseek-ai/cordis-plugin-group": "workspace:^",
@@ -44,8 +46,6 @@
"typescript": "^6.0.3",
"vite": "^6.0.0",
"vitest": "^4.1.8",
"fflate": "^0.8.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"fflate": "^0.8.2"
}
}

View File

@@ -93,7 +93,6 @@ export default defineConfig({
plugins: [rejectStandaloneServe(), react()],
build: {
sourcemap: true,
modulePreload: { polyfill: false },
rollupOptions: {
output: {
// Output layout: the two main chunks stay at assets/ root; lazy