16 lines
374 B
TypeScript
16 lines
374 B
TypeScript
import react from '@vitejs/plugin-react-swc';
|
|
import { fileURLToPath } from 'node:url';
|
|
import { defineConfig } from 'vite';
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'monaco-themes/themes': fileURLToPath(
|
|
new URL('./node_modules/monaco-themes/themes', import.meta.url)
|
|
),
|
|
},
|
|
},
|
|
});
|