UNPKG

234 BJavaScriptView Raw
1const path = require("path");
2
3module.exports = context => {
4 const pack = path.join(__dirname, "../package.json");
5 const config = require(pack);
6 const { version } = config;
7 console.log(`>>>> version : ${version}`);
8};