@kiwicom/smart-faq
Version:
49 lines (47 loc) • 867 B
JavaScript
// @flow
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: ['last 2 versions', 'ie >= 11'],
useBuiltIns: 'usage',
corejs: 3,
},
],
'@babel/preset-react',
],
plugins: [
'relay',
[
'wildcard',
{
exts: ['json'],
},
],
'styled-jsx/babel',
'@kiwicom/babel-plugin-orbit-components',
'@babel/plugin-transform-flow-comments',
[
'@babel/plugin-proposal-class-properties',
{
loose: false,
},
],
[
'id',
{
fn: '__',
},
],
[
'transform-assets-import-to-string',
{
baseDir: '/',
baseUri: 'https://images.kiwi.com/smart-faq',
},
],
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
};