There was an error while loading. Please reload this page.
1 parent 885a04c commit 48258b0Copy full SHA for 48258b0
1 file changed
samples/next.js/next.config.ts
@@ -1,5 +1,9 @@
1
import type { NextConfig } from 'next';
2
3
-const nextConfig: NextConfig = {};
+const nextConfig: NextConfig = {
4
+ // @zenstackhq/orm uses node:async_hooks (AsyncLocalStorage).
5
+ // Mark it as server-external so Turbopack never tries to analyze it in any bundle context.
6
+ serverExternalPackages: ['@zenstackhq/orm', '@zenstackhq/tanstack-query'],
7
+};
8
9
export default nextConfig;
0 commit comments