From b6cf88929835eda17fee9f93ae51423bfd7ebee9 Mon Sep 17 00:00:00 2001 From: Ken Sternberg <133134217+kensternberg-authentik@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:48:43 -0700 Subject: [PATCH] web: remove cssImportMap hack from WDIO. It's a storybook-only-ism. (#10997) * web: remove cssImportMap hack from WDIO. It's a storybook-only-ism. * web: remove unused import that was blocking CI lint pass --- web/wdio.conf.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/wdio.conf.ts b/web/wdio.conf.ts index f1fd0c9f62fe..550e44e50081 100644 --- a/web/wdio.conf.ts +++ b/web/wdio.conf.ts @@ -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; @@ -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",