Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 79407ad

Browse files
author
Je
committed
debug: vercel build
1 parent 263d685 commit 79407ad

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

project.ts

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,12 @@ export class Project {
13311331
...pageModuleTree.map(({ id }) => this._lookupDeps(id).filter(dep => !!dep.isStyle)).flat()
13321332
].flat()
13331333
)
1334+
console.log('---', {
1335+
head,
1336+
body,
1337+
data,
1338+
scripts
1339+
})
13341340
ret.head = head
13351341
ret.scripts = await Promise.all(scripts.map(async (script: Record<string, any>) => {
13361342
if (script.innerText && !this.isDev) {
@@ -1368,10 +1374,14 @@ export class Project {
13681374
undefined,
13691375
E404,
13701376
[],
1371-
[
1372-
e404Module ? this._lookupDeps(e404Module.id).filter(dep => !!dep.isStyle) : []
1373-
].flat()
1377+
e404Module ? this._lookupDeps(e404Module.id).filter(dep => !!dep.isStyle) : []
13741378
)
1379+
console.log('---', {
1380+
head,
1381+
body,
1382+
data,
1383+
scripts
1384+
})
13751385
ret.head = head
13761386
ret.scripts = await Promise.all(scripts.map(async (script: Record<string, any>) => {
13771387
if (script.innerText && !this.isDev) {
@@ -1398,8 +1408,7 @@ export class Project {
13981408

13991409
const {
14001410
head,
1401-
body,
1402-
data
1411+
body
14031412
} = await this.#renderer.renderPage(
14041413
url,
14051414
undefined,

0 commit comments

Comments
 (0)