@gravity-ui/app-builder 0.32.2 → 0.32.3-beta.1
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
|
|
108
|
+
const lazyCompilationMiddleware = core_1.rspack.experiments.lazyCompilationMiddleware(compiler);
|
|
109
109
|
return [lazyCompilationMiddleware, ...middlewares];
|
|
110
110
|
}
|
|
111
111
|
return middlewares;
|
|
@@ -235,7 +235,11 @@ function getCacheBuildDependencies({ config, configPath }) {
|
|
|
235
235
|
const buildDependencies = {};
|
|
236
236
|
const dependenciesGroups = {
|
|
237
237
|
appBuilderConfig: configPath ? [configPath] : [],
|
|
238
|
-
packageJson: [
|
|
238
|
+
packageJson: [
|
|
239
|
+
path.join(paths_1.default.app, 'package.json'),
|
|
240
|
+
path.join(paths_1.default.app, 'package-lock.json'),
|
|
241
|
+
path.join(paths_1.default.app, 'pnpm-lock.yaml'),
|
|
242
|
+
],
|
|
239
243
|
tsconfig: [
|
|
240
244
|
path.join(paths_1.default.app, 'tsconfig.json'),
|
|
241
245
|
path.join(paths_1.default.appClient, 'tsconfig.json'),
|
|
@@ -491,7 +495,10 @@ async function createJavaScriptLoader({ isEnvProduction, isEnvDevelopment, confi
|
|
|
491
495
|
sourceMaps: !config.disableSourceMapGeneration,
|
|
492
496
|
}, { configType, isSsr });
|
|
493
497
|
if (config.bundler === 'rspack') {
|
|
494
|
-
const rspackSwcConfig =
|
|
498
|
+
const rspackSwcConfig = {
|
|
499
|
+
...swcConfig,
|
|
500
|
+
isModule: swcConfig.isModule === 'commonjs' ? false : swcConfig.isModule,
|
|
501
|
+
};
|
|
495
502
|
if (!isSsr && isEnvProduction) {
|
|
496
503
|
rspackSwcConfig.rspackExperiments = {
|
|
497
504
|
import: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/app-builder",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.3-beta.1",
|
|
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.
|
|
77
|
-
"@rspack/dev-server": "^1.1.
|
|
78
|
-
"@rspack/plugin-react-refresh": "^1.
|
|
76
|
+
"@rspack/core": "1.5.5",
|
|
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",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"@svgr/core": "^8.1.0",
|
|
84
84
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
85
85
|
"@svgr/webpack": "^8.1.0",
|
|
86
|
-
"@swc/cli": "0.7.
|
|
87
|
-
"@swc/core": "1.
|
|
88
|
-
"@swc/plugin-transform-imports": "
|
|
86
|
+
"@swc/cli": "0.7.8",
|
|
87
|
+
"@swc/core": "1.13.5",
|
|
88
|
+
"@swc/plugin-transform-imports": "9.1.0",
|
|
89
89
|
"babel-loader": "^9.2.1",
|
|
90
90
|
"babel-plugin-import": "^1.13.8",
|
|
91
91
|
"babel-plugin-inline-react-svg": "^2.0.2",
|