Skip to main content Module next_config Copy item path Source CacheHandlersMap This is a transparent value type wrapping FxIndexMap<RcStr,RcStr> . CacheKinds This is a transparent value type wrapping [FxHashSet<RcStr>]. CompilerConfig DevIndicatorsOptions DomainLocale ExperimentalConfig Header HeaderValue I18NConfig IgnoreIssues This is a transparent value type wrapping Vec<IgnoreIssue> . ImageConfig JsConfig A subset of ts/jsconfig that next.js implicitly
interops with. LightningCssFeatures 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> . OptionOutputType This is a transparent value type wrapping Option<OutputType> . 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 TurbopackIgnoreIssueRule A single rule in turbopack.ignoreIssue. TypeScriptConfig 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 TurbopackIgnoreIssuePathPattern Serialized representation of a path pattern for turbopack.ignoreIssue.
Strings are serialized as { "type": "glob", "value": "..." } and
RegExp as { "type": "regex", "source": "...", "flags": "..." }. TurbopackIgnoreIssueTextPattern Serialized representation of a text pattern (title/description) for
turbopack.ignoreIssue. Strings are serialized as
{ "type": "string", "value": "..." } and RegExp as
{ "type": "regex", "source": "...", "flags": "..." }. TurbopackPluginRuntimeStrategy lightningcss_feature_names_to_mask Convert dash-case feature name strings to a lightningcss Features bitmask.