Skip to content

Commit ce88a18

Browse files
Merge remote-tracking branch 'origin/ext-deps-kit' into main-workflows
2 parents 5c8a4c5 + 59e351d commit ce88a18

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

changelogs/drizzle-kit/0.31.8.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
### Bug fixes
22

3-
- Fixed `algorythm` => `algorithm` typo
3+
- Fixed `algorythm` => `algorithm` typo.
4+
- Fixed external dependencies in build configuration.

drizzle-kit/build.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ const main = async () => {
8484
await tsup.build({
8585
entryPoints: ['./src/index.ts'],
8686
outDir: './dist',
87-
external: ['bun:sqlite'],
87+
external: [
88+
'esbuild',
89+
'drizzle-orm',
90+
...driversPackages,
91+
],
8892
splitting: false,
8993
dts: true,
9094
format: ['cjs', 'esm'],
@@ -105,7 +109,11 @@ const main = async () => {
105109
await tsup.build({
106110
entryPoints: ['./src/api.ts'],
107111
outDir: './dist',
108-
external: ['bun:sqlite'],
112+
external: [
113+
'esbuild',
114+
'drizzle-orm',
115+
...driversPackages,
116+
],
109117
splitting: false,
110118
dts: true,
111119
format: ['cjs', 'esm'],

0 commit comments

Comments
 (0)