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",