Skip to content

Commit

Permalink
web: remove cssImportMap hack from WDIO. It's a storybook-only-ism. (g…
Browse files Browse the repository at this point in the history
…oauthentik#10997)

* web: remove cssImportMap hack from WDIO.  It's a storybook-only-ism.

* web: remove unused import that was blocking CI lint pass
  • Loading branch information
kensternberg-authentik authored Aug 20, 2024
1 parent 5d33f3c commit b6cf889
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions web/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ import replace from "@rollup/plugin-replace";
import type { Options } from "@wdio/types";
import { cwd } from "process";
// @ts-ignore
import * as modify from "rollup-plugin-modify";
import * as postcssLit from "rollup-plugin-postcss-lit";
import type { UserConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";

import { cssImportMaps } from "./.storybook/css-import-maps";

const isProdBuild = process.env.NODE_ENV === "production";
const apiBasePath = process.env.AK_API_BASE_PATH || "";
const runHeadless = process.env.CI !== undefined;
Expand All @@ -25,7 +22,6 @@ export const config: Options.Testrunner = {
viteConfig: (config: UserConfig = { plugins: [] }) => ({
...config,
plugins: [
modify(cssImportMaps),
replace({
"process.env.NODE_ENV": JSON.stringify(
isProdBuild ? "production" : "development",
Expand Down

0 comments on commit b6cf889

Please sign in to comment.