Skip to content

Commit

Permalink
[*] [meta] babel: set transformRuntime to false
Browse files Browse the repository at this point in the history
Fixes #2427.
  • Loading branch information
ljharb committed Aug 7, 2020
1 parent 323e085 commit 7f4bdf1
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 14 deletions.
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-13/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-14/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-15.4/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-15/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-16.1/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-16.2/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-16.3/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-16/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-react-helper/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
["add-module-exports"],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-adapter-utils/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-example-mocha/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-shallow-equal/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme-test-suite/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down
4 changes: 3 additions & 1 deletion packages/enzyme/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"presets": ["airbnb"],
"presets": [
["airbnb", { "transformRuntime": false }],
],
"plugins": [
["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }],
],
Expand Down

0 comments on commit 7f4bdf1

Please sign in to comment.