[babel 8] Remove useSpread and useBuiltIns jsx options (#12593)
* [babel 8] Remove `useSpread` and `useBuiltIns` jsx options backport of 8cc8696851fa4bf02d7f6ae591404626d1ca32a3 Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Brian Ng <bng412@gmail.com> * Update fixtures (Windows) Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Brian Ng <bng412@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"BABEL_8_BREAKING": true,
|
||||
"plugins": [["transform-react-jsx-development", { "runtime": "classic" }]],
|
||||
"os": ["linux", "darwin"]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
var _jsxFileName = "<CWD>/packages/babel-plugin-transform-react-jsx-development/test/fixtures/linux/classic-runtime/input.js";
|
||||
|
||||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
|
||||
var x = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
||||
__self: this,
|
||||
__source: {
|
||||
@@ -34,7 +31,7 @@ var x = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/Reac
|
||||
lineNumber: 6,
|
||||
columnNumber: 9
|
||||
}
|
||||
}), /*#__PURE__*/React.createElement("div", _extends({}, props, {
|
||||
}), /*#__PURE__*/React.createElement("div", { ...props,
|
||||
key: "4",
|
||||
__self: this,
|
||||
__source: {
|
||||
@@ -42,4 +39,4 @@ var x = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/Reac
|
||||
lineNumber: 7,
|
||||
columnNumber: 9
|
||||
}
|
||||
}))));
|
||||
})));
|
||||
|
||||
Reference in New Issue
Block a user