mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-05 15:00:43 +08:00
30 lines
572 B
TypeScript
30 lines
572 B
TypeScript
import { defineConfig } from "umi";
|
|
import routes from './routes'
|
|
|
|
export default defineConfig({
|
|
outputPath: 'dist',
|
|
// alias: { '@': './src' },
|
|
routes,
|
|
npmClient: 'npm',
|
|
base: '/',
|
|
publicPath: '/web/dist/',
|
|
esbuildMinifyIIFE: true,
|
|
icons: {
|
|
|
|
},
|
|
hash: true,
|
|
history: {
|
|
type: 'browser',
|
|
},
|
|
plugins: ['@umijs/plugins/dist/dva'],
|
|
dva: {},
|
|
// proxy: {
|
|
// '/v1': {
|
|
// 'target': 'http://54.80.112.79:9380/',
|
|
// 'changeOrigin': true,
|
|
// 'pathRewrite': { '^/v1': '/v1' },
|
|
// },
|
|
// },
|
|
});
|
|
|