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:
committed by
Facebook GitHub Bot
parent
10189a2c3f
commit
9597e672a1
@@ -17,6 +17,7 @@ import {initializeRenderHost} from './initializeRenderHost';
|
||||
import * as React from './globalsReplacements/fakeReact';
|
||||
import * as ReactDOM from './globalsReplacements/fakeReactDOM';
|
||||
import {styled} from './globalsReplacements/fakeEmotionStyled';
|
||||
import * as emotionCss from './globalsReplacements/fakeEmotionCss';
|
||||
import * as legacyExports from './globalsReplacements/fakeLegacyExports';
|
||||
import Module from 'module';
|
||||
|
||||
@@ -38,6 +39,7 @@ export const initCompanionEnv = async (
|
||||
Immer,
|
||||
antd: {},
|
||||
emotion_styled: {default: styled},
|
||||
emotion_css: emotionCss,
|
||||
antdesign_icons: {},
|
||||
ReactJsxRuntime: {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user