fix production deployment: CSS, images and theme seeding
- Add @source for shop_components/ directory in app-shop.css (Tailwind wasn't scanning sub-modules after the refactor, dropping ~73 utilities) - Remove overly aggressive .dockerignore rules that excluded mockup image variants needed by the responsive_image component - Seed default theme settings on first boot via Release.seed_defaults/0 in the supervision tree (seeds.exs doesn't run in releases) - Fix PDP gallery images for mock data by appending -1200.webp to bare mockup base paths - Update fly.toml format from fly launch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
/* Only scan shop-specific files, not admin pages */
|
||||
@source "../../lib/simpleshop_theme_web/live/shop_live";
|
||||
@source "../../lib/simpleshop_theme_web/components/shop_components.ex";
|
||||
@source "../../lib/simpleshop_theme_web/components/shop_components";
|
||||
@source "../../lib/simpleshop_theme_web/components/page_templates";
|
||||
@source "../../lib/simpleshop_theme_web/components/layouts/shop.html.heex";
|
||||
@source "../../lib/simpleshop_theme_web/components/layouts/shop_root.html.heex";
|
||||
|
||||
Reference in New Issue
Block a user