Provide @emotion/css to plugins

Summary: Changelog: Provide `emotion/css` to plugins

Reviewed By: antonk52

Differential Revision: D40057817

fbshipit-source-id: 1e931eb8527d62dd4312556a6d493fdf3e17b45a
This commit is contained in:
Andrey Goncharov
2022-10-04 05:07:36 -07:00
committed by Facebook GitHub Bot
parent 10189a2c3f
commit 9597e672a1
6 changed files with 18 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ import {_SandyPluginDefinition} from 'flipper-plugin';
import * as Immer from 'immer';
import * as antd from 'antd';
import * as emotion_styled from '@emotion/styled';
import * as emotion_css from '@emotion/css';
import * as antdesign_icons from '@ant-design/icons';
import isPluginCompatible from '../utils/isPluginCompatible';
import {createSandyPluginWrapper} from '../utils/createSandyPluginWrapper';
@@ -113,6 +114,7 @@ export default async (store: Store, _logger: Logger) => {
Immer,
antd,
emotion_styled,
emotion_css,
antdesign_icons,
ReactJsxRuntime,
});