MCPcopy Create free account
hub / github.com/cn-docs/vueuse / build

Function build

scripts/build.ts:42–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42async function build() {
43 consola.info('Clean up')
44 exec('pnpm run clean', { stdio: 'inherit' })
45
46 consola.info('Generate Imports')
47 await updateImport(metadata)
48
49 consola.info('Rollup')
50 exec(`pnpm run build:rollup${watch ? ' -- --watch' : ''}`, { stdio: 'inherit' })
51
52 await buildMetaFiles()
53}
54
55async function cli() {
56 try {

Callers 2

build-run.tsFile · 0.90
cliFunction · 0.85

Calls 3

updateImportFunction · 0.90
buildMetaFilesFunction · 0.85
execFunction · 0.50

Tested by

no test coverage detected