feat: add postcss filter

All CSS processing is handled by the filter, and is now inlined into the
HTML
This commit is contained in:
Devin Haska 2025-03-16 12:07:31 -07:00
parent 6a84af0c37
commit 2aa912399c
14 changed files with 53 additions and 60 deletions

View file

@ -1,6 +1,10 @@
import { getFontUrl } from "../utils/fonts.js";
import path from "path";
import { ASSETS_FONTS_PATH } from "../../config/constants/paths.js";
import fonts from "../../config/design-tokens/fonts.js";
const getFontUrl = (src) => path.join(ASSETS_FONTS_PATH, src);
const preloads = [
{
as: "font",