Module next_config

Source

Structs§

CacheKinds
This is a transparent value type wrapping [FxHashSet<RcStr>].
CacheLifeProfile
CompilerConfig
DevIndicatorsOptions
DomainLocale
ExperimentalConfig
Header
HeaderValue
I18NConfig
ImageConfig
JsConfig
A subset of ts/jsconfig that next.js implicitly interops with.
ModularizeImports
This is a transparent value type wrapping [FxIndexMap<String,ModularizeImportPackageConfig>].
NextConfig
OptionFileSystemPath
This is a transparent value type wrapping Option<FileSystemPath>.
OptionJsonValue
This is a transparent value type wrapping Option<serde_json::Value>.
OptionModuleIds
This is a transparent value type wrapping Option<ModuleIds>.
OptionServerActions
This is a transparent value type wrapping Option<ServerActions>.
OptionSubResourceIntegrity
This is a transparent value type wrapping Option<SubResourceIntegrity>.
OptionalMdxTransformOptions
This is a transparent value type wrapping Option<ResolvedVc<MdxTransformOptions>>.
OptionalReactCompilerOptions
This is a transparent value type wrapping Option<ResolvedVc<ReactCompilerOptions>>.
ReactCompilerOptions
Subset of react compiler options
Redirect
RegexComponents
RemotePattern
ResolveExtensions
This is a transparent value type wrapping Option<Vec<RcStr>>.
Rewrite
Rewrites
RuleConfigCollection
RuleConfigItem
ServerActions
SubResourceIntegrity
SwcPlugins
This is a transparent value type wrapping [Vec<(RcStr,serde_json::Value)>].
TurbopackConfig
TypeScriptConfig

Enums§

BuildActivityPositions
ConfigConditionItem
ConfigConditionPath
This type should not be hand-written, but instead packages/next/src/build/swc/index.ts will transform a JS RegExp to a RegexComponents or a string to a Glob before passing it to us.
CrossOriginConfig
DevIndicatorsConfig
EmotionTransformOptionsOrBoolean
EsmExternals
EsmExternalsValue
ExperimentalPartialPrerendering
ExperimentalPartialPrerenderingIncrementalValue
ImageFormat
ImageLoader
LoaderItem
MdxRsOptions
MiddlewarePrefetchType
ModuleIds
OutputType
ReactCompilerMode
ReactCompilerOptionsOrBoolean
ReactRemoveProperties
RedirectStatus
RemotePatternProtocol
RemoveConsoleConfig
RouteHas
RuleConfigCollectionItem
ServerActionsOrLegacyBool
SizeLimit
StyledComponentsTransformOptionsOrBoolean