mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 00:58:36 +00:00
10 lines
290 B
TypeScript
10 lines
290 B
TypeScript
import type { UserConfig } from 'vite';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
const __dirname = new URL('.', import.meta.url).pathname;
|
|
|
|
export default {
|
|
root: __dirname,
|
|
plugins: [tsconfigPaths(), react()],
|
|
} satisfies UserConfig;
|