Files
cypress/packages/rewriter/script/worker-shim.js
T

8 lines
274 B
JavaScript

// Moved outside of /lib so we can rm -rf "lib/**/*.js" without deleting this
if (process.env.CYPRESS_INTERNAL_ENV === 'production') {
throw new Error(`${__filename} should only run outside of prod`)
}
require('@packages/ts/register')
require('../lib/threads/worker.ts')