feat: add postcss filter
All CSS processing is handled by the filter, and is now inlined into the HTML
This commit is contained in:
parent
6a84af0c37
commit
2aa912399c
14 changed files with 53 additions and 60 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue