• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jlfwong / speedscope / 12798388985

15 Jan 2025 10:47PM UTC coverage: 43.366% (-0.3%) from 43.693%
12798388985

push

github

web-flow
Switch from parcel to esbuild (#432)

1189 of 2825 branches covered (42.09%)

Branch coverage included in aggregate %.

0 of 64 new or added lines in 4 files covered. (0.0%)

1 existing line in 1 file now uncovered.

2707 of 6159 relevant lines covered (43.95%)

4013.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/scripts/dev-server.ts
NEW
1
import * as esbuild from 'esbuild'
×
NEW
2
import {buildOptions, generateIndexHtml} from './esbuild-shared'
×
3

4
async function main() {
NEW
5
  const outdir = 'dist'
×
NEW
6
  let ctx = await esbuild.context({
×
7
    ...buildOptions,
8
    outdir,
9
    write: false,
10
    metafile: true,
11
    plugins: [
12
      {
13
        name: 'speedscope-dev-server',
14
        setup(build) {
NEW
15
          build.onEnd(buildResult => {
×
NEW
16
            generateIndexHtml({
×
17
              buildResult,
18
              outdir,
19
              servingProtocol: 'http',
20
            })
21
          })
22
        },
23
      },
24
    ],
25
  })
26

NEW
27
  await ctx.rebuild()
×
28

NEW
29
  let {host, port} = await ctx.serve({
×
30
    servedir: outdir,
31
  })
32

NEW
33
  console.log(`Server is running at http://${host}:${port}`)
×
34
}
35

NEW
36
main()
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc