We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e016b2a commit c87fca4Copy full SHA for c87fca4
empty.ts
@@ -1,3 +1,12 @@
1
// Empty module to satisfy Turbopack resolveAlias fallback for Node.js modules
2
// See turbopack config in next.config.ts
3
+
4
+// No-op function that returns itself for chaining
5
+export const createLogger = () => ({
6
+ info: () => {},
7
+ warn: () => {},
8
+ error: () => {},
9
+ debug: () => {},
10
+})
11
12
export default {}
next.config.ts
@@ -65,6 +65,12 @@ const config: NextConfig = {
65
async_hooks: {
66
browser: './empty.ts', // Point to empty module when async_hooks is requested for browser
67
},
68
+ '@/observability/logger': {
69
+ browser: './empty.ts',
70
+ },
71
+ '@/observability/logger/lib/logger-context': {
72
73
74
75
76
0 commit comments