mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 21:49:51 +01:00
4e657b41aa
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
27 lines
725 B
JavaScript
27 lines
725 B
JavaScript
/* 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',
|
|
],
|
|
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',
|
|
],
|
|
}
|