add empty logger functions turbopack fallback (#58742)
This commit is contained in:
9
empty.ts
9
empty.ts
@@ -1,3 +1,12 @@
|
||||
// Empty module to satisfy Turbopack resolveAlias fallback for Node.js modules
|
||||
// See turbopack config in next.config.ts
|
||||
|
||||
// No-op function that returns itself for chaining
|
||||
export const createLogger = () => ({
|
||||
info: () => {},
|
||||
warn: () => {},
|
||||
error: () => {},
|
||||
debug: () => {},
|
||||
})
|
||||
|
||||
export default {}
|
||||
|
||||
Reference in New Issue
Block a user