mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-25 22:35:49 +00:00
Merge pull request #4277 from element-hq/vitest-warning
Fix Vitest import warning
This commit is contained in:
@@ -9,7 +9,7 @@ import { defineConfig, searchForWorkspaceRoot } from "vite";
|
|||||||
import { realpathSync } from "node:fs";
|
import { realpathSync } from "node:fs";
|
||||||
import * as fs from "node:fs";
|
import * as fs from "node:fs";
|
||||||
|
|
||||||
import { vitePluginsConfig } from "./vite.config";
|
import { vitePluginsConfig } from "./vite.config.ts";
|
||||||
import { scopeStylesToRoot } from "./component/build/scopeStylesToRoot";
|
import { scopeStylesToRoot } from "./component/build/scopeStylesToRoot";
|
||||||
|
|
||||||
// Serves the harness under `component/dev`, which embeds Element Call as a
|
// Serves the harness under `component/dev`, which embeds Element Call as a
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Please see LICENSE in the repository root for full details.
|
|||||||
|
|
||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite";
|
||||||
|
|
||||||
import { vitePluginsConfig } from "./vite.config";
|
import { vitePluginsConfig } from "./vite.config.ts";
|
||||||
import { scopeStylesToRoot } from "./component/build/scopeStylesToRoot";
|
import { scopeStylesToRoot } from "./component/build/scopeStylesToRoot";
|
||||||
|
|
||||||
// Config for Element Call as a React component, to be imported by an
|
// Config for Element Call as a React component, to be imported by an
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Please see LICENSE in the repository root for full details.
|
|||||||
import { defineConfig, mergeConfig } from "vite";
|
import { defineConfig, mergeConfig } from "vite";
|
||||||
import generateFile from "vite-plugin-generate-file";
|
import generateFile from "vite-plugin-generate-file";
|
||||||
|
|
||||||
import fullConfig from "./vite.config";
|
import fullConfig from "./vite.config.ts";
|
||||||
|
|
||||||
const base = "./";
|
const base = "./";
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import { defineConfig, mergeConfig } from "vitest/config";
|
import { defineConfig, mergeConfig } from "vitest/config";
|
||||||
import { playwright } from "@vitest/browser-playwright";
|
import { playwright } from "@vitest/browser-playwright";
|
||||||
import { vitePluginsConfig } from "./vite.config";
|
import { vitePluginsConfig } from "./vite.config.ts";
|
||||||
import { storybookTest } from "@storybook/addon-vitest/vitest-plugin";
|
import { storybookTest } from "@storybook/addon-vitest/vitest-plugin";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { fileURLToPath } from "node:url";
|
import { fileURLToPath } from "node:url";
|
||||||
|
|||||||
Reference in New Issue
Block a user