@modern-js/uni-builder 0.0.0-nightly-20240316170641 → 0.0.0-nightly-20240318170746

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,10 +94,12 @@ const transformToRsbuildServerOptions = (dev, devServer) => {
94
94
  }
95
95
  const server = (0, import_shared.isProd)() ? {
96
96
  publicDir: false,
97
- htmlFallback: false
97
+ htmlFallback: false,
98
+ printUrls: false
98
99
  } : {
99
100
  publicDir: false,
100
101
  htmlFallback: false,
102
+ printUrls: false,
101
103
  compress: newDevServerConfig.compress,
102
104
  headers: newDevServerConfig.headers,
103
105
  historyApiFallback: newDevServerConfig.historyApiFallback,
@@ -137,10 +139,8 @@ async function startDevServer(rsbuild, options = {}, builderConfig) {
137
139
  pwd: rsbuild.context.rootPath,
138
140
  ...serverOptions,
139
141
  rsbuild,
140
- getMiddlewares: (config2) => rsbuildServer.getMiddlewares({
141
- compileMiddlewareAPI,
142
- // TODO: To be removed. should update all rsbuild config in parseCommonConfig stage
143
- overrides: config2
142
+ getMiddlewares: () => rsbuildServer.getMiddlewares({
143
+ compileMiddlewareAPI
144
144
  }),
145
145
  dev: {
146
146
  watch: (_serverOptions_dev_watch = (_serverOptions_dev1 = serverOptions.dev) === null || _serverOptions_dev1 === void 0 ? void 0 : _serverOptions_dev1.watch) !== null && _serverOptions_dev_watch !== void 0 ? _serverOptions_dev_watch : true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/uni-builder",
3
- "version": "0.0.0-nightly-20240316170641",
3
+ "version": "0.0.0-nightly-20240318170746",
4
4
  "description": "Unified builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -66,8 +66,8 @@
66
66
  "webpack": "^5.89.0",
67
67
  "webpack-manifest-plugin": "5.0.0",
68
68
  "webpack-subresource-integrity": "5.1.0",
69
- "@modern-js/utils": "0.0.0-nightly-20240316170641",
70
- "@modern-js/server": "0.0.0-nightly-20240316170641"
69
+ "@modern-js/utils": "0.0.0-nightly-20240318170746",
70
+ "@modern-js/server": "0.0.0-nightly-20240318170746"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@rsbuild/plugin-swc": "0.4.15",
@@ -75,9 +75,9 @@
75
75
  "react": "^18.2.0",
76
76
  "react-dom": "^18.2.0",
77
77
  "typescript": "^5.3.0",
78
- "@modern-js/prod-server": "0.0.0-nightly-20240316170641",
79
- "@scripts/build": "0.0.0-nightly-20240316170641",
80
- "@scripts/vitest-config": "0.0.0-nightly-20240316170641"
78
+ "@modern-js/prod-server": "0.0.0-nightly-20240318170746",
79
+ "@scripts/build": "0.0.0-nightly-20240318170746",
80
+ "@scripts/vitest-config": "0.0.0-nightly-20240318170746"
81
81
  },
82
82
  "publishConfig": {
83
83
  "access": "public",