Skip to content

Commit

Permalink
Revert "chore: preset-react runtime: automatic react 17"
Browse files Browse the repository at this point in the history
This reverts commit 3a1860d.
  • Loading branch information
atanasster committed Oct 27, 2020
1 parent 3a1860d commit 92833ed
Show file tree
Hide file tree
Showing 3 changed files with 1,016 additions and 286 deletions.
7 changes: 1 addition & 6 deletions core/webpack-configs/src/instrument/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ export const instrument: Configuration = {
options: {
presets: [
['@babel/preset-env', { modules: 'commonjs' }],
[
'@babel/preset-react',
{
runtime: 'automatic',
},
],
'@babel/preset-react',
],
},
},
Expand Down
14 changes: 2 additions & 12 deletions core/webpack-configs/src/react/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ export const react: PresetType = (options: BuildProps) => {
options: {
presets: [
['@babel/preset-env', { modules: 'commonjs' }],
[
'@babel/preset-react',
{
runtime: 'automatic',
},
],
'@babel/preset-react',
],
},
},
Expand All @@ -73,12 +68,7 @@ export const react: PresetType = (options: BuildProps) => {
options: {
presets: [
['@babel/preset-env', { modules: 'commonjs' }],
[
'@babel/preset-react',
{
runtime: 'automatic',
},
],
'@babel/preset-react',
],
},
},
Expand Down
Loading

0 comments on commit 92833ed

Please sign in to comment.