We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f05690 commit e2a79bfCopy full SHA for e2a79bf
.changeset/thirty-balloons-punch.md
@@ -0,0 +1,7 @@
1
+---
2
+'@modern-js/uni-builder': patch
3
4
+
5
+fix: dev.setupMiddlewares not work
6
7
+fix: 修复 dev.setupMiddlewares 不生效的问题
packages/cli/uni-builder/src/shared/devServer.ts
@@ -41,6 +41,7 @@ export const transformToRsbuildServerOptions = (
41
https,
42
startUrl,
43
beforeStartUrl,
44
+ setupMiddlewares,
45
...devConfig
46
} = dev;
47
@@ -57,6 +58,7 @@ export const transformToRsbuildServerOptions = (
57
58
port: '<port>',
59
...(devConfig.client || {}),
60
},
61
62
63
devServer,
64
{},
0 commit comments