UNPKG

232 BJavaScriptView Raw
1const path = require('path');
2const {sayHello} = require('./d1');
3const {getCallerPath} = require('../lib/util/caller');
4
5sayHello();
6// console.log(getCallerPath(path.join(__dirname, '../d1.js')));
7// console.log(getCallerPath());