Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 363 Bytes
module.exports = {
presets: [
[ '@babel/env', { loose: true } ],
'@babel/react'
],
env: {
emotion: {
plugins: [
[ 'transform-rename-import', {
replacements: [
{
original: '^styled-components$',
replacement: 'react-emotion'
}
]
} ]
]
}
}
}