web: Added babel-plugin-styled-components
This commit is contained in:
parent
adaec6d022
commit
cc8af39b05
@ -53,6 +53,7 @@
|
||||
"babel-plugin-macros": "^2.5.1",
|
||||
"babel-plugin-module-rewrite": "0.2.0",
|
||||
"babel-plugin-react-intl": "3.0.1",
|
||||
"babel-plugin-styled-components": "^1.10.0",
|
||||
"babel-plugin-transform-dynamic-import": "2.1.0",
|
||||
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
||||
"babel-plugin-transform-rename-import": "2.3.0",
|
||||
|
@ -70,6 +70,7 @@ module.exports = function getBabelPreset() {
|
||||
]
|
||||
].filter(Boolean),
|
||||
plugins: [
|
||||
require("babel-plugin-styled-components").default,
|
||||
// Experimental macros support. Will be documented after it's had some time
|
||||
// in the wild.
|
||||
require("babel-plugin-macros").default,
|
||||
|
Loading…
Reference in New Issue
Block a user