MCPcopy
hub / github.com/vercel/next.js / copy_constants_browserify

Function copy_constants_browserify

packages/next/taskfile.js:725–736  ·  view source on GitHub ↗
(task, opts)

Source from the content-addressed store, hash-verified

723}
724
725export async function copy_constants_browserify(task, opts) {
726 await fs.mkdir(join(__dirname, 'src/compiled/constants-browserify'), {
727 recursive: true,
728 })
729 await writeJson(
730 join(__dirname, 'src/compiled/constants-browserify/package.json'),
731 { name: 'constants-browserify', main: './constants.json' }
732 )
733 await task
734 .source(require.resolve('constants-browserify'))
735 .target('src/compiled/constants-browserify')
736}
737
738export async function ncc_crypto_browserify(task, opts) {
739 await task

Callers

nothing calls this directly

Calls 6

mkdirMethod · 0.80
targetMethod · 0.80
writeJsonFunction · 0.70
resolveMethod · 0.65
joinFunction · 0.50
sourceMethod · 0.45

Tested by

no test coverage detected