More fix build?

This commit is contained in:
Konstantin Wohlwend 2026-02-27 01:47:01 -08:00
parent 2ebc30bd7d
commit 48f0e998d5

View File

@ -13,12 +13,13 @@ const nodeBuiltins = builtinModules.flatMap((m) => [m, `node:${m}`]);
const basePlugin: Rolldown.Plugin = createBasePlugin({});
export default defineConfig({
entry: ['scripts/db-migrations.ts'],
entry: ['db-migrations.ts'],
format: ['esm'],
outDir: 'dist',
target: 'node22',
platform: 'node',
noExternal: [...customNoExternal],
inlineOnly: false,
// Externalize Node.js builtins so they're imported rather than shimmed
external: nodeBuiltins,
clean: true,