fix: move bundled DOMPurify out of vendor/ dir #2

Merged
james merged 1 commit from fix/vendor-dir-stripped into main 2026-05-26 01:42:31 +00:00
Owner

Go module packaging strips any directory named vendor (reserved for
dependency vendoring), so assets/js/vendor/purify.min.js — though
committed and present in the v0.0.1 tag — was absent from the published
module. Consumers hit resources.Get "js/vendor/purify.min.js" => nil,
and nil | fingerprint failed with " can not be transformed".

Rename assets/js/vendor -> assets/js/lib and update the partial + CI glob.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Go module packaging strips any directory named `vendor` (reserved for dependency vendoring), so assets/js/vendor/purify.min.js — though committed and present in the v0.0.1 tag — was absent from the published module. Consumers hit `resources.Get "js/vendor/purify.min.js"` => nil, and `nil | fingerprint` failed with "<nil> can not be transformed". Rename assets/js/vendor -> assets/js/lib and update the partial + CI glob. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fix: move bundled DOMPurify out of vendor/ dir
All checks were successful
CI / build (pull_request) Successful in 15s
Release / release (push) Successful in 8s
71d706fac1
Go module packaging strips any directory named `vendor` (reserved for
dependency vendoring), so assets/js/vendor/purify.min.js — though
committed and present in the v0.0.1 tag — was absent from the published
module. Consumers hit `resources.Get "js/vendor/purify.min.js"` => nil,
and `nil | fingerprint` failed with "<nil> can not be transformed".

Rename assets/js/vendor -> assets/js/lib and update the partial + CI glob.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
james merged commit ae947fd39a into main 2026-05-26 01:42:31 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
james/hugo-ap-comments!2
No description provided.