revert: web: Font fixes (#15581) (#15789)

Revert "web: Font fixes (#15581)"

This reverts commit f00772faf1.
This commit is contained in:
Jens L.
2025-07-25 13:54:15 +02:00
committed by GitHub
parent b541f0fa1d
commit c0e62d14cb
9 changed files with 44 additions and 90 deletions
+7 -7
View File
@@ -1,13 +1,11 @@
import * as fs from "node:fs/promises";
import * as path from "node:path";
/**
* @file ESBuild script for building the authentik web UI.
*
* @import { BuildOptions } from "esbuild";
*/
import * as fs from "node:fs/promises";
import * as path from "node:path";
import { cssAssetPlugin } from "#bundler/css-assets-plugin/node";
import { mdxPlugin } from "#bundler/mdx-plugin/node";
import { createBundleDefinitions } from "#bundler/utils/node";
import { DistDirectory, EntryPoint, PackageRoot } from "#paths/node";
@@ -42,8 +40,11 @@ const BASE_ESBUILD_OPTIONS = {
legalComments: "external",
splitting: true,
treeShaking: true,
external: ["*.woff", "*.woff2"],
tsconfig: path.resolve(PackageRoot, "tsconfig.build.json"),
loader: {
".css": "text",
},
plugins: [
copy({
assets: [
@@ -74,7 +75,6 @@ const BASE_ESBUILD_OPTIONS = {
path: true,
},
}),
cssAssetPlugin(),
mdxPlugin({
root: MonoRepoRoot,
}),