mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 21:49:51 +01:00
365a0f68d4
* initial storybook setup * fix storybook babel config * add two stories * don't load if loaded * make sure preflightLogic is loaded * more examples for propertyKeyInfo * kea storybook provider * expose getReduxState on dev instances to make stories fast * history for kea story provider * remove old kea provider * stories for insights * stories for events * fix .mdx support * fix preloadedState type
21 lines
558 B
JavaScript
21 lines
558 B
JavaScript
/* global module */
|
|
module.exports = {
|
|
plugins: [
|
|
'@babel/plugin-transform-runtime',
|
|
'@babel/plugin-transform-react-jsx',
|
|
['@babel/plugin-proposal-class-properties', { loose: true }],
|
|
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
|
|
['babel-plugin-kea', { path: './frontend/src' }],
|
|
],
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
useBuiltIns: 'usage',
|
|
corejs: 3,
|
|
},
|
|
],
|
|
'@babel/typescript',
|
|
],
|
|
}
|