-
Notifications
You must be signed in to change notification settings - Fork 7
/
.discoveryrc.js
83 lines (82 loc) · 3 KB
/
.discoveryrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
const v8logSupport = false;
module.exports = {
name: 'cpupro',
version: require('./package.json').version,
description: 'A viewer for CPU profiles captured in V8 runtimes like Node.js, Deno or Chromium browsers',
icon: './img/logo.svg',
darkmode: 'only',
embed: true,
upload: {
accept: v8logSupport
? ['.cpuprofile', '.devtools', '.log', '.json', '.jsonxl']
: ['.cpuprofile', '.devtools', '.json', '.jsonxl']
},
basedir: __dirname + '/app',
...v8logSupport ? { encodings: './encodings' } : null,
setup: './setup.mts',
data: './data',
favicon: './img/favicon.png',
routers: ['./demo/router.js'],
meta: {
demos: require('./app/demo/index.json')
},
view: {
assets: [
'./init-client.mjs',
'./pages/all-call-frames.js',
'./pages/all-modules.js',
'./pages/all-packages.js',
'./pages/all-page-common.css',
'./pages/common.css',
'./pages/default.js',
'./pages/default.css',
'./pages/call-frame.css',
'./pages/call-frame.js',
'./pages/module.js',
'./pages/category.js',
'./pages/package.js',
'./pages/profiles-matrix.css',
'./pages/profiles-matrix.js',
'./views/misc/mode-regexp.css',
'./views/misc/mode-regexp.js',
'./views/call-frame-kind-badge.css',
'./views/call-frame-kind-badge.js',
'./views/call-frame-loc-badge.css',
'./views/call-frame-loc-badge.js',
'./views/duration.css',
'./views/duration.js',
'./views/flamechart.css',
'./views/flamechart.js',
'./views/flamechart-expand.css',
'./views/flamechart-expand.js',
'./views/hotness-icon.css',
'./views/hotness-icon.js',
'./views/nested-timings-tree.js',
'./views/no-samples.css',
'./views/no-samples.js',
'./views/page-indicator.css',
'./views/page-indicator.js',
'./views/page-indicator-timings.css',
'./views/page-indicator-timings.js',
'./views/subject-badges.css',
'./views/subject-badges.js',
'./views/subject-with-nested-timeline.css',
'./views/subject-with-nested-timeline.js',
'./views/text-with-unit.js',
'./views/time.css',
'./views/time.js',
'./views/time-ruler.css',
'./views/time-ruler.js',
'./views/timeline-profiles.css',
'./views/timeline-profiles.js',
'./views/timeline-segments.css',
'./views/timeline-segments.js',
'./views/timing-bar.css',
'./views/timing-bar.js',
'./views/update-on-timings-change.css',
'./views/update-on-timings-change.js',
'./views/value-fraction.css',
'./views/value-fraction.js'
]
}
};