Skip to content

Commit 294c2dc

Browse files
authored
fix: zod external (#1949)
* chore: add zod to external dependencies in CLI and spec configurations * chore: include zod as an external dependency in compiler and sdk configurations
1 parent 4b33716 commit 294c2dc

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

packages/cli/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default defineConfig({
3232
"@lingo.dev/_locales",
3333
"@lingo.dev/_logging",
3434
"glob",
35+
"zod",
3536
],
3637
outExtension: (ctx) => ({
3738
js: ctx.format === "cjs" ? ".cjs" : ".mjs",

packages/compiler/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default defineConfig({
99
dts: true,
1010
splitting: true,
1111
shims: true,
12+
external: ["zod"],
1213
outExtension: (ctx) => ({
1314
js: ctx.format === "cjs" ? ".cjs" : ".mjs",
1415
}),

packages/sdk/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default defineConfig({
99
dts: true,
1010
cjsInterop: true,
1111
splitting: true,
12+
external: ["zod"],
1213
outExtension: (ctx) => ({
1314
js: ctx.format === "cjs" ? ".cjs" : ".mjs",
1415
}),

packages/spec/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export default defineConfig({
1010
dts: true,
1111
cjsInterop: true,
1212
splitting: true,
13+
external: ["zod"],
1314
outExtension: (ctx) => ({
1415
js: ctx.format === "cjs" ? ".cjs" : ".mjs",
1516
}),

0 commit comments

Comments
 (0)