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
b7eff6de
Unverified
Commit
b7eff6de
authored
Jul 17, 2025
by
Niklas Mischkulnig
Committed by
GitHub
Jul 17, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary await (#81761)
parent
5b374215
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
impl.ts
packages/next/src/build/turbopack-build/impl.ts
+1
-1
webpack-config.ts
packages/next/src/build/webpack-config.ts
+1
-1
hot-reloader-turbopack.ts
packages/next/src/server/dev/hot-reloader-turbopack.ts
+1
-1
No files found.
packages/next/src/build/turbopack-build/impl.ts
View file @
b7eff6de
...
@@ -49,7 +49,7 @@ export async function turbopackBuild(): Promise<{
...
@@ -49,7 +49,7 @@ export async function turbopackBuild(): Promise<{
const
bindings
=
await
loadBindings
(
config
?.
experimental
?.
useWasmBinary
)
const
bindings
=
await
loadBindings
(
config
?.
experimental
?.
useWasmBinary
)
const
dev
=
false
const
dev
=
false
const
supportedBrowsers
=
await
getSupportedBrowsers
(
dir
,
dev
)
const
supportedBrowsers
=
getSupportedBrowsers
(
dir
,
dev
)
const
persistentCaching
=
isPersistentCachingEnabled
(
config
)
const
persistentCaching
=
isPersistentCachingEnabled
(
config
)
const
project
=
await
bindings
.
turbo
.
createProject
(
const
project
=
await
bindings
.
turbo
.
createProject
(
...
...
packages/next/src/build/webpack-config.ts
View file @
b7eff6de
...
@@ -269,7 +269,7 @@ export async function loadProjectInfo({
...
@@ -269,7 +269,7 @@ export async function loadProjectInfo({
dir
,
dir
,
config
config
)
)
const
supportedBrowsers
=
await
getSupportedBrowsers
(
dir
,
dev
)
const
supportedBrowsers
=
getSupportedBrowsers
(
dir
,
dev
)
return
{
return
{
jsConfig
,
jsConfig
,
jsConfigPath
,
jsConfigPath
,
...
...
packages/next/src/server/dev/hot-reloader-turbopack.ts
View file @
b7eff6de
...
@@ -206,7 +206,7 @@ export async function createHotReloaderTurbopack(
...
@@ -206,7 +206,7 @@ export async function createHotReloaderTurbopack(
// TODO this need to be set correctly for persistent caching to work
// TODO this need to be set correctly for persistent caching to work
}
}
const
supportedBrowsers
=
await
getSupportedBrowsers
(
projectPath
,
dev
)
const
supportedBrowsers
=
getSupportedBrowsers
(
projectPath
,
dev
)
const
currentNodeJsVersion
=
process
.
versions
.
node
const
currentNodeJsVersion
=
process
.
versions
.
node
const
project
=
await
bindings
.
turbo
.
createProject
(
const
project
=
await
bindings
.
turbo
.
createProject
(
...
...
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