MCPcopy Create free account
hub / github.com/formkit/formkit / buildNuxtModule

Function buildNuxtModule

scripts/build.mjs:272–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270}
271
272async function buildNuxtModule() {
273 progress.step = `Bundling Nuxt module`
274 return new Promise((resolve, reject) => {
275 exec(
276 'cd ./packages/nuxt && pnpm prepack && cd ../../',
277 (err, stdout, stderr) => {
278 if (err) {
279 reject(stderr)
280 } else {
281 resolve()
282 }
283 }
284 )
285 })
286}
287
288let timeout
289function startTimer() {

Callers 1

buildPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected