babel-preset-react-app 3.0.0 → 3.1.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/index.js +3 -8
- package/package.json +6 -6
package/index.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*/
|
|
9
7
|
'use strict';
|
|
10
8
|
|
|
@@ -129,10 +127,7 @@ if (env === 'test') {
|
|
|
129
127
|
|
|
130
128
|
if (env === 'production') {
|
|
131
129
|
// Optimization: hoist JSX that never changes out of render()
|
|
132
|
-
// Disabled because of issues:
|
|
133
|
-
// * https://github.com/facebookincubator/create-react-app/issues/525
|
|
134
|
-
// * https://phabricator.babeljs.io/search/query/pCNlnC2xzwzx/
|
|
135
|
-
// * https://github.com/babel/babel/issues/4516
|
|
130
|
+
// Disabled because of issues: https://github.com/facebookincubator/create-react-app/issues/553
|
|
136
131
|
// TODO: Enable again when these issues are resolved.
|
|
137
132
|
// plugins.push.apply(plugins, [
|
|
138
133
|
// require.resolve('babel-plugin-transform-react-constant-elements')
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-preset-react-app",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Babel preset used by Create React App",
|
|
5
5
|
"repository": "facebookincubator/create-react-app",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "MIT",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/facebookincubator/create-react-app/issues"
|
|
9
9
|
},
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"index.js"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"babel-plugin-dynamic-import-node": "1.0
|
|
14
|
+
"babel-plugin-dynamic-import-node": "1.1.0",
|
|
15
15
|
"babel-plugin-syntax-dynamic-import": "6.18.0",
|
|
16
16
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
17
|
-
"babel-plugin-transform-object-rest-spread": "6.
|
|
17
|
+
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
|
18
18
|
"babel-plugin-transform-react-constant-elements": "6.23.0",
|
|
19
19
|
"babel-plugin-transform-react-jsx": "6.24.1",
|
|
20
20
|
"babel-plugin-transform-react-jsx-self": "6.22.0",
|
|
21
21
|
"babel-plugin-transform-react-jsx-source": "6.22.0",
|
|
22
|
-
"babel-plugin-transform-regenerator": "6.
|
|
22
|
+
"babel-plugin-transform-regenerator": "6.26.0",
|
|
23
23
|
"babel-plugin-transform-runtime": "6.23.0",
|
|
24
|
-
"babel-preset-env": "1.
|
|
24
|
+
"babel-preset-env": "1.6.1",
|
|
25
25
|
"babel-preset-react": "6.24.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|