Unverified Commit e42260c5 authored by Leah's avatar Leah Committed by GitHub

add `turbopackLoaders` to config validation (#45337)

unfortunately, we didn't know about this part 🙃 
parent bd50adab
...@@ -435,6 +435,9 @@ const configSchema = { ...@@ -435,6 +435,9 @@ const configSchema = {
mdxRs: { mdxRs: {
type: 'boolean', type: 'boolean',
}, },
turbopackLoaders: {
type: 'object',
},
turbotrace: { turbotrace: {
type: 'object', type: 'object',
properties: { properties: {
......
...@@ -155,6 +155,10 @@ export interface ExperimentalConfig { ...@@ -155,6 +155,10 @@ export interface ExperimentalConfig {
fontLoaders?: Array<{ loader: string; options?: any }> fontLoaders?: Array<{ loader: string; options?: any }>
webVitalsAttribution?: Array<typeof WEB_VITALS[number]> webVitalsAttribution?: Array<typeof WEB_VITALS[number]>
// webpack loaders to use when running turbopack
turbopackLoaders?: Record<string, string | string[]>
turbotrace?: { turbotrace?: {
logLevel?: logLevel?:
| 'bug' | 'bug'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment