Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Important
Security Advisory: React2Shell & two new vulnerabilities
Find out more
Configurationnext.config.js OptionsbundlePagesRouterDependencies

bundlePagesRouterDependencies

Last updated April 15, 2025

Enable automatic server-side dependency bundling for Pages Router applications. Matches the automatic dependency bundling in App Router.

next.config.js
/**@type{import('next').NextConfig} */constnextConfig= {  bundlePagesRouterDependencies:true,}module.exports= nextConfig

Explicitly opt-out certain packages from being bundled using theserverExternalPackages option.

Version History

VersionChanges
v15.0.0Moved from experimental to stable. Renamed frombundlePagesExternals tobundlePagesRouterDependencies

Was this helpful?

supported.

[8]ページ先頭

©2009-2025 Movatter.jp