balibabu commited on
Commit
a740b6f
·
1 Parent(s): 2665f5c

fix: Fixed an issue where the project could not be built #1306 (#1693)

Browse files

### What problem does this PR solve?

fix: Fixed an issue where the project could not be built #1306

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Files changed (1) hide show
  1. web/.umirc.ts +2 -2
web/.umirc.ts CHANGED
@@ -20,7 +20,7 @@ export default defineConfig({
20
  },
21
  plugins: ['@react-dev-inspector/umi4-plugin', '@umijs/plugins/dist/dva'],
22
  dva: {},
23
-
24
  lessLoader: {
25
  modifyVars: {
26
  hack: `true; @import "~@/less/index.less";`,
@@ -30,7 +30,7 @@ export default defineConfig({
30
  copy: ['src/conf.json'],
31
  proxy: {
32
  '/v1': {
33
- target: '',
34
  changeOrigin: true,
35
  ws: true,
36
  logger: console,
 
20
  },
21
  plugins: ['@react-dev-inspector/umi4-plugin', '@umijs/plugins/dist/dva'],
22
  dva: {},
23
+ jsMinifier: 'terser',
24
  lessLoader: {
25
  modifyVars: {
26
  hack: `true; @import "~@/less/index.less";`,
 
30
  copy: ['src/conf.json'],
31
  proxy: {
32
  '/v1': {
33
+ target: 'http://localhost:9380/',
34
  changeOrigin: true,
35
  ws: true,
36
  logger: console,