module.exports = {
    presets: [
        [ '@babel/preset-env', {
            'targets': {
                'browsers': [ 'last 2 versions and > 2%' ],
            },
        } ],
    ],
    plugins: [
        '@babel/plugin-proposal-class-properties',
        '@babel/plugin-proposal-nullish-coalescing-operator',
        '@babel/plugin-proposal-optional-chaining',
        '@babel/plugin-syntax-dynamic-import',
        '@babel/plugin-transform-runtime',
    ],
};
