web: Normalize extensions.

This commit is contained in:
Teffen Ellis
2025-06-26 23:12:22 +02:00
parent c1032386c6
commit 3e67e358ce
13 changed files with 33 additions and 31 deletions

View File

@ -1,12 +1,11 @@
/// <reference types="../types/esbuild.js" />
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 { mdxPlugin } from "#bundler/mdx-plugin/node";
import { createBundleDefinitions } from "#bundler/utils/node";
import { DistDirectory, EntryPoint, PackageRoot } from "#paths/node";
@ -17,9 +16,11 @@ import { readBuildIdentifier } from "@goauthentik/core/version/node";
import { deepmerge } from "deepmerge-ts";
import esbuild from "esbuild";
import copy from "esbuild-plugin-copy";
import { copy } from "esbuild-plugin-copy";
import { polyfillNode } from "esbuild-plugin-polyfill-node";
/// <reference types="../types/esbuild.js" />
const logPrefix = "[Build]";
const patternflyPath = resolvePackage("@patternfly/patternfly", import.meta);