Skip to content

Commit 0a758c0

Browse files
committed
chore: unify zod as an external dependency across all configurations
1 parent 23337a3 commit 0a758c0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/cli/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export default defineConfig({
3131
"@lingo.dev/_react",
3232
"@lingo.dev/_locales",
3333
"@lingo.dev/_logging",
34-
"glob",
3534
"zod",
35+
"glob",
3636
],
3737
outExtension: (ctx) => ({
3838
js: ctx.format === "cjs" ? ".cjs" : ".mjs",

packages/compiler/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ export default defineConfig({
66
entry: ["src/index.ts", "src/lingo-turbopack-loader.ts"],
77
outDir: "build",
88
format: ["cjs", "esm"],
9+
external: ["zod"],
910
dts: true,
1011
splitting: true,
1112
shims: true,
12-
external: ["zod"],
1313
outExtension: (ctx) => ({
1414
js: ctx.format === "cjs" ? ".cjs" : ".mjs",
1515
}),

packages/sdk/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ export default defineConfig({
66
entry: ["src/index.ts"],
77
outDir: "build",
88
format: ["cjs", "esm"],
9+
external: ["zod"],
910
dts: true,
1011
cjsInterop: true,
1112
splitting: true,
12-
external: ["zod"],
1313
outExtension: (ctx) => ({
1414
js: ctx.format === "cjs" ? ".cjs" : ".mjs",
1515
}),

packages/spec/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export default defineConfig({
77
entry: ["src/index.ts"],
88
outDir: "build",
99
format: ["cjs", "esm"],
10+
external: ["zod"],
1011
dts: true,
1112
cjsInterop: true,
1213
splitting: true,
13-
external: ["zod"],
1414
outExtension: (ctx) => ({
1515
js: ctx.format === "cjs" ? ".cjs" : ".mjs",
1616
}),

0 commit comments

Comments
 (0)