Browse Source

remove unused bundlePagesRouterDependencies configuration

Yuki Takei 2 months ago
parent
commit
fed58884ae
1 changed files with 0 additions and 4 deletions
  1. 0 4
      apps/app/next.config.ts

+ 0 - 4
apps/app/next.config.ts

@@ -100,10 +100,6 @@ export default (phase: string): NextConfig => {
     pageExtensions: ['page.tsx', 'page.ts', 'page.jsx', 'page.js'],
     i18n,
 
-    // Bundle server-side dependencies for Pages Router (Next.js 15+)
-    // Matches App Router behavior: all deps are bundled except those in serverExternalPackages
-    // Auto-excluded: mongoose, mongodb, express, sharp, and 68 other packages with native bindings
-    bundlePagesRouterDependencies: true,
     serverExternalPackages: [
       'handsontable', // Legacy v6.2.2 requires @babel/polyfill which is unavailable; client-only via dynamic import
     ],