build: bundle dependencies and ship pre-built dist

This commit is contained in:
saberzero1 2026-04-27 21:37:45 +02:00
parent 4c76de3ad3
commit 85090f26c9
No known key found for this signature in database
2 changed files with 9 additions and 3 deletions

10
dist/index.js vendored
View file

@ -1,5 +1,3 @@
import { escapeHTML } from '@quartz-community/utils';
// node_modules/hast-util-to-string/lib/index.js
function toString(node) {
if ("children" in node) {
@ -21,6 +19,14 @@ function all(node) {
}
return result.join("");
}
"function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Math.random().toString(8);
// node_modules/@quartz-community/utils/dist/index.js
function escapeHTML(unsafe) {
return unsafe.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#039;");
}
// src/transformer.ts
var defaultOptions = {
descriptionLength: 150,
maxDescriptionLength: 300,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long