module.exports = {
    presets: [
        [
            '@babel/env',
            {
                modules: process.env.MODULE ? false : 'commonjs',
                targets: ['>0.25%', 'not ie 11', 'not op_mini all'],
            },
        ],
        '@babel/preset-react',
        '@babel/preset-typescript',
    ],
    plugins: ['@babel/plugin-proposal-class-properties'],
};

module.exports = {
    presets: [
        [
            '@babel/env',
            {
                modules: process.env.MODULE ? false : 'commonjs',
                targets: ['last 2 versions', 'not dead'],
            },
        ],
        '@babel/preset-react',
        '@babel/preset-typescript',
    ],
    plugins: ['@babel/plugin-proposal-class-properties'],
};

Allow IE11 compilation and more
gh-439: Allow IE11 compilation and more
