RocketChat/Rocket.Chat

View on GitHub
packages/livechat/babel.config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
    presets: [['@babel/preset-env', { loose: true }], '@babel/preset-typescript'],
    plugins: [
        ['@babel/plugin-transform-class-properties', { loose: true }],
        ['@babel/plugin-transform-private-methods', { loose: true }],
        ['@babel/plugin-transform-private-property-in-object', { loose: true }],
        [
            '@babel/plugin-transform-react-jsx',
            {
                runtime: 'automatic',
                importSource: 'preact',
            },
        ],
    ],
};