0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/babel.config.js

27 lines
722 B
JavaScript

/* global module */
module.exports = {
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-private-property-in-object',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
presets: [
[
'@babel/preset-env',
{
useBuiltIns: 'usage',
corejs: 3,
targets: 'defaults', // browserlist's defaults - https://github.com/browserslist/browserslist#full-list
},
],
[
'@babel/preset-react',
{
runtime: 'automatic',
},
],
'@babel/typescript',
],
}