17 lines
371 B
JavaScript
17 lines
371 B
JavaScript
![]() |
import { defineConfig } from 'vite';
|
||
|
import react from '@vitejs/plugin-react';
|
||
|
import viteTsconfigPaths from 'vite-tsconfig-paths';
|
||
|
|
||
|
export default defineConfig(() => {
|
||
|
return {
|
||
|
build: {
|
||
|
outDir: 'build',
|
||
|
},
|
||
|
plugins: [react(), viteTsconfigPaths()],
|
||
|
server: {
|
||
|
proxy: {
|
||
|
'/graphql': 'http://localhost:3001'
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
});
|