@gravity-ui/app-builder 0.29.1 → 0.29.2
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.
|
@@ -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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/app-builder",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.2",
|
|
4
4
|
"description": "Develop and build your React client-server projects, powered by typescript and webpack",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -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",
|