We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitest-dev
sheremet-va
antfu
patak-dev
Learn more about funding links in repositories.
Report abuse
1 parent e0b4775 commit dccdd55Copy full SHA for dccdd55
packages/ui/node/reporter.ts
@@ -71,11 +71,14 @@ export default class HTMLReporter implements Reporter {
71
await Promise.all(
72
result.files.map(async (file) => {
73
const projectName = file.projectName || ''
74
+ const resolvedConfig = this.ctx.getProjectByName(projectName).config
75
+ const browser = resolvedConfig.browser.enabled && resolvedConfig.browser.ui
76
result.moduleGraph[projectName] ??= {}
77
result.moduleGraph[projectName][file.filepath] = await getModuleGraph(
78
this.ctx as any,
79
projectName,
80
file.filepath,
81
+ browser,
82
)
83
if (!result.sources[file.filepath]) {
84
try {
0 commit comments