mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.198.1
This commit is contained in:
6
node/generate-quick-reference.js
Normal file
6
node/generate-quick-reference.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import * as fs from "fs";
|
||||
import "../js/parser.js";
|
||||
import * as utB from "./util-book-reference.js";
|
||||
|
||||
fs.writeFileSync("data/generated/bookref-quick.json", JSON.stringify(utB.UtilBookReference.getIndex({name: "Quick Reference", id: "bookref-quick", tag: "quickref"})).replace(/\s*\u2014\s*?/g, "\\u2014"), "utf8");
|
||||
console.log("Updated quick references.");
|
||||
Reference in New Issue
Block a user