You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
424 B
20 lines
424 B
module.exports = {
|
|
presets: ['@babel/preset-env', '@babel/preset-flow', '@babel/react'],
|
|
plugins: [
|
|
'@babel/plugin-proposal-class-properties',
|
|
'@babel/plugin-proposal-export-default-from',
|
|
'babel-plugin-styled-components',
|
|
[
|
|
'react-intl-auto',
|
|
{
|
|
removePrefix: 'app/',
|
|
filebase: false
|
|
}
|
|
]
|
|
],
|
|
env: {
|
|
production: {
|
|
presets: ['react-optimize']
|
|
}
|
|
}
|
|
}
|
|
|