UNPKG

@calipsa/webpack-bundle-compare

Version:
14 lines 415 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); const prevArg = process.argv[2]; const curArg = process.argv[3]; async function getJson(path) { const data = await fs_1.promises.readFile(path, 'utf8'); return JSON.parse(data); } exports.default = () => Promise.all([ getJson(prevArg), getJson(curArg), ]); //# sourceMappingURL=parseArgs.js.map