MCPcopy Index your code
hub / github.com/stenciljs/core / buildProject

Function buildProject

test/runtime-benchmark/benchmark-runtime.js:30–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30function buildProject() {
31 console.log('Building project...');
32 const result = spawnSync('node', [STENCIL_BIN, 'build'], {
33 cwd: __dirname,
34 stdio: 'inherit',
35 });
36 if (result.status !== 0) {
37 console.error('Build failed');
38 process.exit(1);
39 }
40}
41
42function startServer() {
43 return new Promise((resolve) => {

Callers 1

mainFunction · 0.85

Calls 2

errorMethod · 0.80
exitMethod · 0.80

Tested by

no test coverage detected