chore: adapt the deploy recipe to assetmapper
This commit is contained in:
1 parent
a17c61400a
commit
8a43cbb232
2 files changed
+165
No files matched your search
@@ -25,3 +25,15 @@ when@prod:
|
||||
ux_icons:
|
||||
# Suppress exceptions for missing icons in production
|
||||
ignore_not_found: true
|
||||
iconify:
|
||||
# Every icon this app uses is vendored under assets/icons/ by `ux:icons:import`, so
|
||||
# nothing should ever be fetched at runtime -- and more importantly, nothing should be
|
||||
# fetched during `asset-map:compile`, which is a deploy step. Left enabled it reaches
|
||||
# api.iconify.design and fails the build on any host without outbound internet (it
|
||||
# did exactly that: "Idle timeout reached for https://api.iconify.design/collections").
|
||||
#
|
||||
# Deliberately prod-only: in dev the on-demand fetch plus auto_lock above is what lets
|
||||
# you write ux_icon('lucide:something') and have it downloaded and committed for you.
|
||||
# The trade is that an icon nobody imported renders as nothing in prod, because
|
||||
# ignore_not_found is on -- so import first, then use.
|
||||
enabled: false
|
||||
Reference in new issue
Block a user