fix(mcp-server): review fixes for the shell's build

tsc -p shell checked nothing: the inherited exclude dropped every shell
file; the shell's tsconfig now excludes node_modules only. Tailwind scans
app-toaster.tsx too, so the sync notices look like the web app's toasts.
The bundle keeps its dependencies' license comments (esbuild appends them
at the end). postcss, which build-shell.mjs loads from the root, is a
declared devDependency.
This commit is contained in:
dayuan.jiang
2026-10-11 20:56:07 +09:00
parent 3ef14318f9
commit 349ea26d8b
5 changed files with 5 additions and 2 deletions
+1
View File
@@ -100,6 +100,7 @@
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"lint-staged": "^16.2.7",
"postcss": "^8.5.6",
"shx": "^0.4.0",
"tailwindcss": "^4",
"typescript": "^5",
+1
View File
@@ -135,6 +135,7 @@
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"lint-staged": "^16.2.7",
"postcss": "^8.5.6",
"shx": "^0.4.0",
"tailwindcss": "^4",
"typescript": "^5",
@@ -35,7 +35,6 @@ const result = await build({
target: "es2022",
platform: "browser",
jsx: "automatic",
legalComments: "none",
metafile: true,
absWorkingDir: root,
alias: {
+1
View File
@@ -8,6 +8,7 @@
@source "../../../components/canvas";
@source "../../../components/ui";
@source "../../../components/ai-elements";
@source "../../../components/workspace/app-toaster.tsx";
/* System fonts stand in for the web fonts the Next.js layout loads */
:root {
+2 -1
View File
@@ -5,5 +5,6 @@
"incremental": false,
"plugins": []
},
"include": ["./**/*.ts", "./**/*.tsx"]
"include": ["./**/*.ts", "./**/*.tsx"],
"exclude": ["node_modules"]
}