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

Function guessDir

packages/cli/src/exportInput.ts:101–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101function guessDir() {
102 const srcDir = resolve(process.cwd(), 'src')
103 if (existsSync(srcDir)) {
104 return './src/inputs'
105 }
106 return './inputs'
107}
108
109/**
110 * Transforms the source code of the inputs to be used locally.

Callers 1

requireOutputDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected