Skip to content

Commit

Permalink
Babel plugin must be loaded first
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewn committed Apr 19, 2020
1 parent af03620 commit 1e5e47a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"env": {
"production": {
"plugins": [
"babel-plugin-styled-components",
"transform-react-remove-prop-types",
"@babel/plugin-transform-react-constant-elements",
"@babel/plugin-transform-react-inline-elements",
Expand Down Expand Up @@ -48,6 +49,7 @@
},
"development": {
"plugins": [
"babel-plugin-styled-components",
"react-hot-loader/babel"
]
}
Expand Down Expand Up @@ -83,7 +85,6 @@
],
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-function-bind",
"babel-plugin-styled-components"
"@babel/plugin-proposal-function-bind"
]
}

0 comments on commit 1e5e47a

Please sign in to comment.