mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-27 16:26:50 +01:00
27 lines
722 B
JavaScript
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',
|
|
],
|
|
}
|