This repository has been archived on 2025-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
PowerTools/client/vite.config.js

17 lines
322 B
JavaScript

import { defineConfig } from 'vite';
import * as path from 'path';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
proxy: {
"/api": "http://localhost:7182/"
}
}
});