@alrale/alias-require
v1.0.3
Published
alias require
Downloads
15
Readme
alrale-alias-require
摘自作者 npmjs 链接 https://www.npmjs.com/package/best-require github 链接 https://github.com/yuezhihan/best-require
使用
require('@alrale/alias-require')({
"~": process.cwd(),
"@": process.cwd(),
":alias": path.join(process.cwd(), '/test/bar/d1'),
"::": path.join(process.cwd(), '/test/bar/d1'),
})