mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
More fix build?
This commit is contained in:
parent
2ebc30bd7d
commit
48f0e998d5
@ -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,
|
||||
Loading…
Reference in New Issue
Block a user