import { resolve } from 'path' function test () { const _path = 'path' return resolve(_path) } test()