Skip to content

Commit

Permalink
[#4303] fix babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
martinchristov committed Sep 1, 2020
1 parent d2b4433 commit e39242f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
6 changes: 1 addition & 5 deletions akvo/rsr/dir/.babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"presets": [
"@babel/preset-react",
[ "@babel/preset-env", {
"targets": {
"browsers": "> 2%"
}
}]
"@babel/preset-env"
],

"plugins": [
Expand Down
1 change: 1 addition & 0 deletions akvo/rsr/dir/app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React from 'react'
import ReactDOM from 'react-dom'
import { AppContainer } from 'react-hot-loader'
import smoothscroll from 'smoothscroll-polyfill'
import 'babel-polyfill'
import Root from './root'
import './i18n'
import 'reset-css'
Expand Down
6 changes: 1 addition & 5 deletions akvo/rsr/spa/.babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"presets": [
"@babel/preset-react",
[ "@babel/preset-env", {
"targets": {
"browsers": "> 2%"
}
}]
"@babel/preset-env"
],

"plugins": [
Expand Down

0 comments on commit e39242f

Please sign in to comment.