docs: cleanup copy plugin logs
This commit is contained in:
@@ -16,8 +16,6 @@ function copyFiles(emit: any) {
|
|||||||
|
|
||||||
const filePath = resolve(__dirname, getPkgPath(name, fileName))
|
const filePath = resolve(__dirname, getPkgPath(name, fileName))
|
||||||
|
|
||||||
console.log(filePath)
|
|
||||||
|
|
||||||
if (!existsSync(filePath)) {
|
if (!existsSync(filePath)) {
|
||||||
throw new Error(`${name} not built. ` + `Run "pnpm -w build" first.`)
|
throw new Error(`${name} not built. ` + `Run "pnpm -w build" first.`)
|
||||||
}
|
}
|
||||||
@@ -29,10 +27,8 @@ function copyFiles(emit: any) {
|
|||||||
source: readFileSync(filePath, 'utf-8'),
|
source: readFileSync(filePath, 'utf-8'),
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(`Copied ${filePath} to ${getPublicPath(fileName)}`)
|
console.log(`Copied ${fileName} to ${getPublicPath(fileName)}`)
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log('Copied vue-flow files')
|
|
||||||
}
|
}
|
||||||
export function copyVueFlowPlugin(): Plugin {
|
export function copyVueFlowPlugin(): Plugin {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user