File tree 3 files changed +377
-198
lines changed
3 files changed +377
-198
lines changed Original file line number Diff line number Diff line change 55
55
"ts-loader" : " ^9.1.0" ,
56
56
"typescript" : " ^4.3.2" ,
57
57
"webpack" : " ^5.94.0" ,
58
- "webpack-cli" : " ^4.9.1 " ,
59
- "webpack-dev-server" : " ^4.11.1 " ,
58
+ "webpack-cli" : " ^6.0.0 " ,
59
+ "webpack-dev-server" : " ^v5.2.0 " ,
60
60
"webpack-merge" : " ^5.7.3"
61
61
},
62
62
"dependencies" : {
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ module.exports = (env) =>
29
29
port : 9090 ,
30
30
historyApiFallback : true ,
31
31
allowedHosts : "all" ,
32
- proxy : {
33
- "/api" : {
32
+ proxy : [
33
+ {
34
+ context : [ "/api" ] ,
34
35
changeOrigin : true ,
35
36
target : process . env . API_ENDPOINT ,
36
37
pathRewrite : { "^/api" : "" } ,
@@ -39,7 +40,7 @@ module.exports = (env) =>
39
40
Cookie : process . env . API_COOKIE ,
40
41
} ,
41
42
} ,
42
- } ,
43
+ ] ,
43
44
} ,
44
45
module : {
45
46
rules : [
You can’t perform that action at this time.
0 commit comments