fix: resolve ssr:false build error for dynamic imports in Server Components

This commit is contained in:
2026-06-25 15:03:51 +02:00
parent 0ccc408a8d
commit 70a312052c
5 changed files with 19 additions and 4 deletions

2
lib/empty-polyfill.js Normal file
View File

@@ -0,0 +1,2 @@
// Empty polyfill to trick Next.js into not loading legacy polyfills
export default {};