mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
3b21790027
* Latest browser’s versions and statistics
* Browserlists - Use "defaults" browser support
* Enable Babel polyfills based on usage
* Revert "Polyfill Object.fromEntries (for Safari <= 12) (#4999)"
This reverts commit ad63386a69
.
* Different browser support for dev/prod for build performance
20 lines
459 B
JavaScript
20 lines
459 B
JavaScript
/* global module */
|
|
module.exports = {
|
|
plugins: [
|
|
'@babel/plugin-transform-runtime',
|
|
'@babel/plugin-transform-react-jsx',
|
|
'@babel/plugin-proposal-class-properties',
|
|
['babel-plugin-kea', { path: './frontend/src' }],
|
|
],
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
useBuiltIns: 'usage',
|
|
corejs: 3,
|
|
},
|
|
],
|
|
'@babel/typescript',
|
|
],
|
|
}
|