Babel plugin must be loaded first

This commit is contained in:
Andrew Nicolaou 2020-04-19 20:27:44 +02:00
parent af03620071
commit 1e5e47ad25

View file

@ -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",
@ -48,6 +49,7 @@
},
"development": {
"plugins": [
"babel-plugin-styled-components",
"react-hot-loader/babel"
]
}
@ -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"
]
}