0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
posthog/babel.config.js

27 lines
725 B
JavaScript
Raw Normal View History

2020-07-13 10:36:38 +02:00
/* global module */
module.exports = {
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-transform-class-properties',
'@babel/plugin-transform-private-property-in-object',
'@babel/plugin-transform-nullish-coalescing-operator',
2020-07-13 10:36:38 +02:00
],
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',
],
2020-07-13 10:36:38 +02:00
}