mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
92c0f0ec25
Package skeleton with build tooling (Vite, Vitest, ESLint), TypeScript configuration, styles, workspace integration, and documentation scaffolding.
24 lines
582 B
TypeScript
24 lines
582 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import { resolve } from "node:path";
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
test: {
|
|
environment: "jsdom",
|
|
setupFiles: ["./src/v2/__tests__/setup.ts"],
|
|
include: ["**/__tests__/**/*.test.ts"],
|
|
globals: true,
|
|
reporters: [["default", { summary: false }]],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": resolve(__dirname, "./src"),
|
|
"@copilotkit/web-inspector": resolve(
|
|
__dirname,
|
|
"./src/v2/__tests__/mocks/web-inspector.ts",
|
|
),
|
|
},
|
|
},
|
|
});
|