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
14987fb6
Commit
14987fb6
authored
Sep 30, 2025
by
Niklas Mischkulnig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No manual includes for Turbopack
parent
f24d3b8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
next.config.js
test/e2e/twoslash/next.config.js
+17
-16
No files found.
test/e2e/twoslash/next.config.js
View file @
14987fb6
...
...
@@ -4,22 +4,23 @@ const path = require('path')
const
nextConfig
=
{
// output: 'standalone',
// TODO ideally, all of these manual includes wouldn't be necessary. Maybe we can improve that for
// Turbopack
outputFileTracingIncludes
:
{
'/'
:
[
path
.
relative
(
process
.
cwd
(),
path
.
resolve
(
require
.
resolve
(
'typescript/package.json'
),
'..'
,
'lib'
,
'lib.*.d.ts'
)
),
'./node_modules/@types/node/**'
,
],
},
// TODO ideally, all of these manual includes wouldn't be necessary, but they are still needed for Webpack
outputFileTracingIncludes
:
process
.
env
.
TURBOPACK
?
undefined
:
{
'/'
:
[
path
.
relative
(
process
.
cwd
(),
path
.
resolve
(
require
.
resolve
(
'typescript/package.json'
),
'..'
,
'lib'
,
'lib.*.d.ts'
)
),
'./node_modules/@types/node/**'
,
],
},
serverExternalPackages
:
[
'twoslash'
],
}
...
...
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