Skip to content

Commit f1e7e68

Browse files
committed
stop netlify from bundling source
1 parent c22aee2 commit f1e7e68

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/self-host-mcp/netlify.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build]
22
base = "apps/self-host-mcp"
3-
command = "pnpm install --frozen-lockfile && pnpm -w run build"
3+
command = "pnpm install --frozen-lockfile"
44
publish = "."
55

66
[[redirects]]
@@ -10,4 +10,3 @@ status = 200
1010

1111
[functions]
1212
included_files = ["manifests/**"]
13-
external_node_modules = ["@storybook/mcp"]

apps/self-host-mcp/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4+
// Prevent inherited workspace aliases from resolving @storybook/mcp to source during Netlify function bundling.
5+
"paths": {},
46
"outDir": "./dist"
57
},
68
"include": ["**/*.ts"],

0 commit comments

Comments
 (0)