0
0
mirror of https://github.com/sp-tarkov/db-website.git synced 2025-02-08 10:10:47 -05:00
TheSparta d19412a794 frontend update and rewrite
- Updated to React 18
- Switched from CRA to vite
- reworked some components
- reworked most stores
2024-04-07 22:18:55 +01:00

13 lines
395 B
TypeScript

import path from "node:path";
import vitePreprocessor from "cypress-vite";
export default async (on: Cypress.PluginEvents, config: Cypress.PluginConfigOptions) => {
on("file:preprocessor", vitePreprocessor({
configFile: path.resolve(process.cwd(), "vite.config.ts"),
mode: "development"
}));
(await import("@cypress/code-coverage/task")).default(on, config);
return config;
};