Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Turbopack: Implement deploymentId
  • Loading branch information
timneutkens authored and mischnic committed Mar 11, 2025
commit fd3d381a0ec7dc02468eff2eb35e69e1346e85dc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
var chunkFilename = chunks[i],
entry = chunkCache.get(chunkFilename);
if (void 0 === entry) {
entry = __turbopack_load__(chunkFilename);
entry = __turbopack_load_by_url__(chunkFilename);
promises.push(entry);
var resolve = chunkCache.set.bind(chunkCache, chunkFilename, null);
entry.then(resolve, ignoreReject);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function preloadModule(metadata) {
var chunkFilename = chunks[i],
entry = chunkCache.get(chunkFilename);
if (void 0 === entry) {
entry = __turbopack_load__(chunkFilename);
entry = __turbopack_load_by_url__(chunkFilename);
promises.push(entry);
var resolve = chunkCache.set.bind(chunkCache, chunkFilename, null);
entry.then(resolve, ignoreReject);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
var chunkFilename = chunks[i],
entry = chunkCache.get(chunkFilename);
if (void 0 === entry) {
entry = __turbopack_load__(chunkFilename);
entry = __turbopack_load_by_url__(chunkFilename);
promises.push(entry);
var resolve = chunkCache.set.bind(chunkCache, chunkFilename, null);
entry.then(resolve, ignoreReject);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function preloadModule(metadata) {
var chunkFilename = chunks[i],
entry = chunkCache.get(chunkFilename);
if (void 0 === entry) {
entry = __turbopack_load__(chunkFilename);
entry = __turbopack_load_by_url__(chunkFilename);
promises.push(entry);
var resolve = chunkCache.set.bind(chunkCache, chunkFilename, null);
entry.then(resolve, ignoreReject);
Expand Down
2 changes: 1 addition & 1 deletion packages/next/taskfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@ export async function copy_vendor_react(task_) {
const source = file.data.toString()
let newSource = source.replace(
/__turbopack_load__/g,
'__turbopack_load__'
'__turbopack_load_by_url__'
)

file.data = newSource
Expand Down