const babelifyConfig = {
    presets: [
        ['@babel/preset-env', {
            'useBuiltIns': 'entry',
        }],
    ],
    extensions: '.ts',
}

module.exports = babelifyConfig;

const babelifyConfig = {
    presets: [
        ['@babel/preset-env', {
            'useBuiltIns': 'entry',
            'targets': {
                'firefox': 50,
                'chrome': 45,
                'opera': 32,
                'safari': 11,
            },
        }],
    ],
    extensions: '.ts',
}

module.exports = babelifyConfig;

Use explicit targets for babel-preset-env
Use explicit targets for babel-preset-env

This reduces bundle size by 5 KiB.
