Run file with absolute import paths at node js script

后端 未结 0 917
挽巷
挽巷 2021-02-10 00:35
const glob = require(\'glob\')
const fs = require(\'fs\')
const p = require(\'path\')

const root = p.join(__dirname, \'../../\')

function isDir(path) {
  try {
    con         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题