sakuya/node_modules/resolve/example/sync.js
2022-04-10 00:37:53 +08:00

4 lines
103 B
JavaScript

var resolve = require('../');
var res = resolve.sync('tap', { basedir: __dirname });
console.log(res);