Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
e42260c5
Unverified
Commit
e42260c5
authored
Jan 27, 2023
by
Leah
Committed by
GitHub
Jan 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add `turbopackLoaders` to config validation (#45337)
unfortunately, we didn't know about this part
🙃
parent
bd50adab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
config-schema.ts
packages/next/src/server/config-schema.ts
+3
-0
config-shared.ts
packages/next/src/server/config-shared.ts
+4
-0
No files found.
packages/next/src/server/config-schema.ts
View file @
e42260c5
...
...
@@ -435,6 +435,9 @@ const configSchema = {
mdxRs
:
{
type
:
'boolean'
,
},
turbopackLoaders
:
{
type
:
'object'
,
},
turbotrace
:
{
type
:
'object'
,
properties
:
{
...
...
packages/next/src/server/config-shared.ts
View file @
e42260c5
...
...
@@ -155,6 +155,10 @@ export interface ExperimentalConfig {
fontLoaders
?:
Array
<
{
loader
:
string
;
options
?:
any
}
>
webVitalsAttribution
?:
Array
<
typeof
WEB_VITALS
[
number
]
>
// webpack loaders to use when running turbopack
turbopackLoaders
?:
Record
<
string
,
string
|
string
[]
>
turbotrace
?:
{
logLevel
?:
|
'bug'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment