MCPcopy Create free account
hub / github.com/cypress-io/cypress / compile

Function compile

scripts/binary/binary-byte-node-entry-point-source.js:1–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1const compile = async () => {
2 const bytenode = await import('bytenode')
3 const path = require('path')
4
5 await bytenode.compileFile({
6 filename: path.join(__dirname, 'packages', 'server', 'index.js'),
7 output: path.join(__dirname, 'packages', 'server', 'index.jsc'),
8 })
9}
10
11compile().then(() => {
12 process.exit()

Callers 4

jquery-3.2.1.jsFile · 0.85
renderFunction · 0.85
jquery.jsFile · 0.85

Calls 2

requireFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected