customer-riverside/.gitignore
Philip Peterson dcb58bbb3a
All checks were successful
deploy / image (push) Successful in 5m17s
Serve Preact from the site: the components rendered nothing
Every component imported Preact, its hooks and htm/preact from esm.sh
separately. htm/preact imports Preact unversioned, which esm.sh now
resolves to Preact 11, while the components asked for preact@10: two
Preacts on one page, so render() drew nothing, silently. Booking, FAQ,
testimonials, carousel, toggle and appointment type were all blank.

Use htm's single-file standalone build instead (Preact 10, its hooks and
html in one module, no further imports), downloaded at image build
pinned by version and checksum, like FullCalendar, and imported from
../vendor/preact-standalone.js. Checked on the live page: the booking
component renders again with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 06:08:05 -09:00

12 lines
287 B
Text

# Drupal generated files (bind-mounted, not tracked)
web/sites/default/files/*
!web/sites/default/files/.gitkeep
!web/sites/default/files/resume.pdf
# Never commit real credentials
.env
node_modules/
# Downloaded at image build (Dockerfile)
web/modules/custom/riverside_pt/js/vendor/