@gravity-ui/app-builder 0.32.1 → 0.32.3-beta.0

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.
@@ -105,7 +105,7 @@ async function buildDevServer(config) {
105
105
  static: staticFolder,
106
106
  setupMiddlewares(middlewares) {
107
107
  if (config.client.lazyCompilation && bundler === 'rspack') {
108
- const lazyCompilationMiddleware = core_1.rspack.experiments.lazyCompilationMiddleware(compiler, rspackConfigs[0]?.experiments?.lazyCompilation);
108
+ const lazyCompilationMiddleware = core_1.rspack.experiments.lazyCompilationMiddleware(compiler);
109
109
  return [lazyCompilationMiddleware, ...middlewares];
110
110
  }
111
111
  return middlewares;
@@ -196,8 +196,8 @@ async function normalizeClientConfig(client, mode) {
196
196
  let publicPath = client.publicPath || path.normalize(`${client.publicPathPrefix || ''}/build/`);
197
197
  let browserPublicPath = (mode !== 'dev' && cdnConfig?.publicPath) || publicPath;
198
198
  if (client.moduleFederation) {
199
- publicPath = path.normalize(`${publicPath}${client.moduleFederation.name}/`);
200
- browserPublicPath = path.normalize(`${browserPublicPath}${client.moduleFederation.name}/`);
199
+ publicPath = `${publicPath}${client.moduleFederation.name}/`;
200
+ browserPublicPath = `${browserPublicPath}${client.moduleFederation.name}/`;
201
201
  }
202
202
  let transformCssWithLightningCss = Boolean(client.transformCssWithLightningCss);
203
203
  if (client.moduleFederation?.isolateStyles && transformCssWithLightningCss) {
@@ -3,9 +3,9 @@ export declare function createCli(argv: string[]): {
3
3
  [x: string]: unknown;
4
4
  verbose: boolean | undefined;
5
5
  cdn: string | undefined;
6
+ c: unknown;
6
7
  env: string[] | undefined;
7
8
  target: "client" | "server" | undefined;
8
- c: unknown;
9
9
  inspect: number | undefined;
10
10
  inspectBrk: number | undefined;
11
11
  "inspect-brk": number | undefined;
@@ -33,9 +33,9 @@ export declare function createCli(argv: string[]): {
33
33
  [x: string]: unknown;
34
34
  verbose: boolean | undefined;
35
35
  cdn: string | undefined;
36
+ c: unknown;
36
37
  env: string[] | undefined;
37
38
  target: "client" | "server" | undefined;
38
- c: unknown;
39
39
  inspect: number | undefined;
40
40
  inspectBrk: number | undefined;
41
41
  "inspect-brk": number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.32.1",
3
+ "version": "0.32.3-beta.0",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -73,9 +73,9 @@
73
73
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
74
74
  "@rsdoctor/rspack-plugin": "^1.0.2",
75
75
  "@rsdoctor/webpack-plugin": "^1.0.2",
76
- "@rspack/core": "1.3.9",
77
- "@rspack/dev-server": "^1.1.1",
78
- "@rspack/plugin-react-refresh": "^1.4.1",
76
+ "@rspack/core": "1.5.3",
77
+ "@rspack/dev-server": "^1.1.4",
78
+ "@rspack/plugin-react-refresh": "^1.5.1",
79
79
  "@statoscope/stats": "^5.28.1",
80
80
  "@statoscope/stats-extension-compressed": "^5.28.1",
81
81
  "@statoscope/webpack-model": "^5.29.0",