UNPKG
aflower-cli
Version:
latest (0.0.9)
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
One flower project command line interface.
github.com/lunoob/aflower-cli
lunoob/aflower-cli
aflower-cli
/
test
/
exist.js
11 lines
(7 loc)
•
189 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
fse
from
'fs-extra'
import
path
from
'path'
const
targetPath = path.
resolve
(process.
cwd
(),
'vite.config.js'
)
console
.
log
(targetPath)
console
.
log
( fse.
existsSync
(targetPath) )