wire shop.css alongside Tailwind for CSS migration (Phase 1)

- esbuild profile for shop.css bundling (dev watcher + build aliases)
- shop.css loaded as second stylesheet in shop_root layout
- LiveView display:contents rule in reset layer
- updated Lighthouse + Screenshots tasks for new esbuild target

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-02-16 23:45:13 +00:00
parent 5fa93f4e75
commit fcd1b1ce80
8 changed files with 21 additions and 3 deletions

View File

@@ -100,12 +100,14 @@ defmodule SimpleshopTheme.MixProject do
"compile",
"tailwind simpleshop_theme",
"tailwind simpleshop_theme_shop",
"esbuild simpleshop_theme"
"esbuild simpleshop_theme",
"esbuild simpleshop_theme_shop_css"
],
"assets.deploy": [
"tailwind simpleshop_theme --minify",
"tailwind simpleshop_theme_shop --minify",
"esbuild simpleshop_theme --minify",
"esbuild simpleshop_theme_shop_css --minify",
"phx.digest"
],
precommit: ["compile --warning-as-errors", "deps.unlock --unused", "format", "test"],