summaryrefslogtreecommitdiff
path: root/extension/scripts/package.js
blob: 8f1e68fd4eab60b52f2b4a582b5cb4bda7395da7 (plain)
1
2
3
4
5
6
7
8
9
10
11
const { exec } = require("child_process");
const fs = require("fs");

if (!fs.existsSync("build")) {
  fs.mkdirSync("build");
}

exec("vsce package --out ./build patch", (error) => {
  if (error) throw error;
  console.log("vsce package completed");
});