mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
5c783c744c
* chore: Add debug info to JSX output * Pin React to `^16.14.0` instead of `^16.13.0` * Remove redundant `React`s * Add `@babel/preset-react` for Storybook * Update babel.config.js
25 lines
540 B
JavaScript
25 lines
540 B
JavaScript
/* global module */
|
|
module.exports = {
|
|
plugins: [
|
|
'@babel/plugin-transform-runtime',
|
|
'@babel/plugin-proposal-class-properties',
|
|
'@babel/plugin-proposal-private-property-in-object',
|
|
],
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
useBuiltIns: 'usage',
|
|
corejs: 3,
|
|
},
|
|
],
|
|
[
|
|
'@babel/preset-react',
|
|
{
|
|
runtime: 'automatic',
|
|
},
|
|
],
|
|
'@babel/typescript',
|
|
],
|
|
}
|