chore: babel -> swc (#12821)

* chore: babel -> swc

* Add ls guard

* PR feedback
This commit is contained in:
Tom Moor authored and GitHub committed 2026-06-29 17:11:02 -04:00
1 parent e8070cd87a
commit ec3200c7d2
55 files changed
+1387 -764

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ export function rewriteAttachmentReferences(
const transformAttachmentNode = (node: Node): Node => {
const json = node.toJSON() as ProsemirrorData;
const attrs = { ...(json.attrs ?? {}) };
const attrs = { ...json.attrs };
if (node.type.name === "attachment") {
const href = attrs.href as string | undefined;