mirror of
https://github.com/sergeyyarkov/educt-client.git
synced 2026-10-11 10:19:22 +03:00
16 lines
344 B
TypeScript
16 lines
344 B
TypeScript
import { defineConfig } from 'vite';
|
|
import path from 'path';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: [{ find: '@educt', replacement: path.resolve(__dirname, 'src') }],
|
|
},
|
|
build: {
|
|
outDir: 'dist',
|
|
sourcemap: true,
|
|
},
|
|
});
|