@gravity-ui/app-builder 0.29.1 → 0.29.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
|
|
108
|
+
const lazyCompilationMiddleware = core_1.rspack.experiments.lazyCompilationMiddleware(compiler);
|
|
109
109
|
return [lazyCompilationMiddleware, ...middlewares];
|
|
110
110
|
}
|
|
111
111
|
return middlewares;
|
|
@@ -3,11 +3,14 @@ export declare function babelPreset(config: {
|
|
|
3
3
|
isSsr?: boolean;
|
|
4
4
|
}): (string | {
|
|
5
5
|
env: {
|
|
6
|
-
modules: boolean;
|
|
7
|
-
bugfixes: boolean;
|
|
8
6
|
targets: {
|
|
9
7
|
node: string;
|
|
10
8
|
} | undefined;
|
|
9
|
+
useBuiltIns: string;
|
|
10
|
+
corejs: string;
|
|
11
|
+
modules: boolean;
|
|
12
|
+
bugfixes: boolean;
|
|
13
|
+
shippedProposals: boolean;
|
|
11
14
|
};
|
|
12
15
|
runtime: {
|
|
13
16
|
version: string;
|
|
@@ -6,9 +6,12 @@ function babelPreset(config) {
|
|
|
6
6
|
require.resolve('./ui-preset'),
|
|
7
7
|
{
|
|
8
8
|
env: {
|
|
9
|
+
targets: config.isSsr ? { node: 'current' } : undefined,
|
|
10
|
+
useBuiltIns: 'usage',
|
|
11
|
+
corejs: '3.44',
|
|
9
12
|
modules: false,
|
|
10
13
|
bugfixes: true,
|
|
11
|
-
|
|
14
|
+
shippedProposals: true,
|
|
12
15
|
},
|
|
13
16
|
runtime: { version: '^7.26.0' },
|
|
14
17
|
typescript: true,
|
|
@@ -417,8 +417,9 @@ async function createJavaScriptLoader({ isEnvProduction, isEnvDevelopment, confi
|
|
|
417
417
|
env: {
|
|
418
418
|
targets: isSsr ? { node: process.versions.node } : require('browserslist')(),
|
|
419
419
|
mode: 'usage',
|
|
420
|
-
coreJs: '3.
|
|
420
|
+
coreJs: '3.44',
|
|
421
421
|
bugfixes: true,
|
|
422
|
+
shippedProposals: true,
|
|
422
423
|
},
|
|
423
424
|
isModule: 'unknown',
|
|
424
425
|
jsc: {
|
package/dist/create-cli.d.ts
CHANGED
|
@@ -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;
|
|
@@ -31,9 +31,9 @@ export declare function createCli(argv: string[]): {
|
|
|
31
31
|
[x: string]: unknown;
|
|
32
32
|
verbose: boolean | undefined;
|
|
33
33
|
cdn: string | undefined;
|
|
34
|
+
c: unknown;
|
|
34
35
|
env: string[] | undefined;
|
|
35
36
|
target: "client" | "server" | undefined;
|
|
36
|
-
c: unknown;
|
|
37
37
|
inspect: number | undefined;
|
|
38
38
|
inspectBrk: number | undefined;
|
|
39
39
|
"inspect-brk": number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/app-builder",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.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",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"@babel/runtime": "^7.26.0",
|
|
71
71
|
"@okikio/sharedworker": "^1.0.7",
|
|
72
72
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
|
|
73
|
-
"@rsdoctor/rspack-plugin": "^1.
|
|
74
|
-
"@rsdoctor/webpack-plugin": "^1.
|
|
75
|
-
"@rspack/core": "1.
|
|
76
|
-
"@rspack/dev-server": "^1.1.
|
|
77
|
-
"@rspack/plugin-react-refresh": "^1.4.
|
|
73
|
+
"@rsdoctor/rspack-plugin": "^1.1.7",
|
|
74
|
+
"@rsdoctor/webpack-plugin": "^1.1.7",
|
|
75
|
+
"@rspack/core": "1.4.2",
|
|
76
|
+
"@rspack/dev-server": "^1.1.3",
|
|
77
|
+
"@rspack/plugin-react-refresh": "^1.4.3",
|
|
78
78
|
"@statoscope/stats": "^5.28.1",
|
|
79
79
|
"@statoscope/stats-extension-compressed": "^5.28.1",
|
|
80
80
|
"@statoscope/webpack-model": "^5.29.0",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"circular-dependency-plugin": "^5.2.2",
|
|
96
96
|
"clean-webpack-plugin": "^4.0.0",
|
|
97
97
|
"common-tags": "^1.8.2",
|
|
98
|
-
"core-js": "~3.
|
|
98
|
+
"core-js": "~3.44.0",
|
|
99
99
|
"cosmiconfig": "^8.3.6",
|
|
100
100
|
"cosmiconfig-typescript-loader": "^5.0.0",
|
|
101
101
|
"css-loader": "^7.1.2",
|