@gravity-ui/app-builder 0.33.3 → 0.33.4-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.
@@ -1057,7 +1057,20 @@ function configureCommonPlugins(options, bundlerPlugins) {
1057
1057
  }
1058
1058
  if (config.analyzeBundle === 'rsdoctor') {
1059
1059
  plugins.push(new bundlerPlugins.RSDoctorPlugin({
1060
- mode: 'brief',
1060
+ output: {
1061
+ mode: 'brief',
1062
+ reportDir: path.resolve(options.buildDirectory, 'rsdoctor'),
1063
+ options: {
1064
+ type: ['html', 'json'],
1065
+ htmlOptions: {
1066
+ reportHtmlName: 'report.html',
1067
+ writeDataJson: true,
1068
+ },
1069
+ jsonOptions: {
1070
+ fileName: 'report.json',
1071
+ },
1072
+ },
1073
+ },
1061
1074
  }));
1062
1075
  }
1063
1076
  if (config.sentryConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.33.3",
3
+ "version": "0.33.4-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",
@@ -71,8 +71,8 @@
71
71
  "@module-federation/enhanced": "^0.18.0",
72
72
  "@okikio/sharedworker": "^1.0.7",
73
73
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
74
- "@rsdoctor/rspack-plugin": "^1.0.2",
75
- "@rsdoctor/webpack-plugin": "^1.0.2",
74
+ "@rsdoctor/rspack-plugin": "^1.3.3",
75
+ "@rsdoctor/webpack-plugin": "^1.3.3",
76
76
  "@rspack/core": "1.5.5",
77
77
  "@rspack/dev-server": "^1.1.4",
78
78
  "@rspack/plugin-react-refresh": "^1.5.1",