Feat: Add placeholders for badge generator

Chore: Save as dev dep.
This commit is contained in:
Nelson Chan
2023-06-29 06:50:55 +08:00
parent eaee55fc8f
commit 0e725569e5
5 changed files with 61 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
const args = require("args-parser")(process.argv);
// Interop with browser
const args = (typeof process !== "undefined") ? require("args-parser")(process.argv) : {};
const demoMode = args["demo"] || false;
const badgeConstants = {