perf: route ecommerce utility styles on demand

This commit is contained in:
2026-06-05 19:45:56 +08:00
parent c42c8d4f7b
commit 3d4001353d
5 changed files with 34 additions and 1 deletions
@@ -10,6 +10,7 @@ import {
import { useCallback, useEffect, useMemo, useRef, useState, type CSSProperties } from "react";
import "../../styles/pages/image-workbench.css";
import "../../styles/pages/ecommerce.css";
import "../../styles/pages/local-theme-parity.css";
import type { WebProjectSummary } from "../../types";
import { useDebounce } from "../../hooks/useDebounce";
import { templateCarouselCases, templateCases, templateCategories, type TemplateCase } from "./ecommerceTemplates";