babel-preset-react-app 8.0.0-next.b0cbf2ca → 8.0.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.
- package/create.js +4 -1
- package/package.json +19 -15
package/create.js
CHANGED
@@ -79,8 +79,11 @@ module.exports = function(api, opts, env) {
|
|
79
79
|
// Latest stable ECMAScript features
|
80
80
|
require('@babel/preset-env').default,
|
81
81
|
{
|
82
|
-
// Allow importing
|
82
|
+
// Allow importing core-js in entrypoint and use browserlist to select polyfills
|
83
83
|
useBuiltIns: 'entry',
|
84
|
+
// Set the corejs version we are using to avoid warnings in console
|
85
|
+
// This will need to change once we upgrade to corejs@3
|
86
|
+
corejs: 3,
|
84
87
|
// Do not transform modules to CJS
|
85
88
|
modules: false,
|
86
89
|
// Exclude transforms that make all code slower
|
package/package.json
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "babel-preset-react-app",
|
3
|
-
"version": "8.0.0
|
3
|
+
"version": "8.0.0",
|
4
4
|
"description": "Babel preset used by Create React App",
|
5
|
-
"repository":
|
5
|
+
"repository": {
|
6
|
+
"type": "git",
|
7
|
+
"url": "https://github.com/facebook/create-react-app.git",
|
8
|
+
"directory": "packages/babel-preset-react-app"
|
9
|
+
},
|
6
10
|
"license": "MIT",
|
7
11
|
"bugs": {
|
8
12
|
"url": "https://github.com/facebook/create-react-app/issues"
|
@@ -17,24 +21,24 @@
|
|
17
21
|
"test.js"
|
18
22
|
],
|
19
23
|
"dependencies": {
|
20
|
-
"@babel/core": "7.3
|
21
|
-
"@babel/plugin-proposal-class-properties": "7.
|
22
|
-
"@babel/plugin-proposal-decorators": "7.
|
23
|
-
"@babel/plugin-proposal-object-rest-spread": "7.3
|
24
|
+
"@babel/core": "7.4.3",
|
25
|
+
"@babel/plugin-proposal-class-properties": "7.4.0",
|
26
|
+
"@babel/plugin-proposal-decorators": "7.4.0",
|
27
|
+
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
|
24
28
|
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
25
|
-
"@babel/plugin-transform-classes": "7.3
|
26
|
-
"@babel/plugin-transform-destructuring": "7.3
|
27
|
-
"@babel/plugin-transform-flow-strip-types": "7.
|
29
|
+
"@babel/plugin-transform-classes": "7.4.3",
|
30
|
+
"@babel/plugin-transform-destructuring": "7.4.3",
|
31
|
+
"@babel/plugin-transform-flow-strip-types": "7.4.0",
|
28
32
|
"@babel/plugin-transform-react-constant-elements": "7.2.0",
|
29
33
|
"@babel/plugin-transform-react-display-name": "7.2.0",
|
30
|
-
"@babel/plugin-transform-runtime": "7.3
|
31
|
-
"@babel/preset-env": "7.3
|
34
|
+
"@babel/plugin-transform-runtime": "7.4.3",
|
35
|
+
"@babel/preset-env": "7.4.3",
|
32
36
|
"@babel/preset-react": "7.0.0",
|
33
37
|
"@babel/preset-typescript": "7.3.3",
|
34
|
-
"@babel/runtime": "7.3
|
35
|
-
"babel-loader": "8.0.5",
|
38
|
+
"@babel/runtime": "7.4.3",
|
36
39
|
"babel-plugin-dynamic-import-node": "2.2.0",
|
37
|
-
"babel-plugin-macros": "2.5.
|
40
|
+
"babel-plugin-macros": "2.5.1",
|
38
41
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24"
|
39
|
-
}
|
42
|
+
},
|
43
|
+
"gitHead": "265c1592dcf3853122dcdd50e1bfc1e43f697fbe"
|
40
44
|
}
|