Skip to main content

Module next_config

Module next_config 

Source

Structs§

CacheKinds
This is a transparent value type wrapping [FxHashSet<RcStr>].
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
OptionCrossOriginConfig
This is a transparent value type wrapping Option<CrossOriginConfig>.
OptionFileSystemPath
This is a transparent value type wrapping Option<FileSystemPath>.
OptionI18NConfig
This is a transparent value type wrapping Option<I18NConfig>.
OptionJsonValue
This is a transparent value type wrapping Option<serde_json::Value>.
OptionModuleIds
This is a transparent value type wrapping Option<ModuleIds>.
OptionOutputType
This is a transparent value type wrapping Option<OutputType>.
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, we pass these options through to the webpack loader, so it must be serializable
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
ConfigConditionContentType
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.
ConfigConditionQuery
CrossOriginConfig
DevIndicatorsConfig
EmotionTransformOptionsOrBoolean
EsmExternals
EsmExternalsValue
ImageFormat
ImageLoader
LoaderItem
MdxRsOptions
MiddlewarePrefetchType
ModuleIds
OutputType
ReactCompilerCompilationMode
ReactCompilerOptionsOrBoolean
ReactCompilerPanicThreshold
ReactRemoveProperties
RedirectStatus
RemotePatternProtocol
RemoveConsoleConfig
RouteHas
RuleConfigCollectionItem
ServerActionsOrLegacyBool
SizeLimit
StyledComponentsTransformOptionsOrBoolean