mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Expose emotion/react to plugins to prevent load failures (#55297)
This commit is contained in:
parent
273ff02dde
commit
db17a88193
@ -1,4 +1,5 @@
|
|||||||
import * as emotion from '@emotion/css';
|
import * as emotion from '@emotion/css';
|
||||||
|
import * as emotionReact from '@emotion/react';
|
||||||
import * as d3 from 'd3';
|
import * as d3 from 'd3';
|
||||||
import jquery from 'jquery';
|
import jquery from 'jquery';
|
||||||
import _ from 'lodash'; // eslint-disable-line lodash/import-scope
|
import _ from 'lodash'; // eslint-disable-line lodash/import-scope
|
||||||
@ -94,6 +95,7 @@ exposeToPlugin('react-redux', reactRedux);
|
|||||||
exposeToPlugin('redux', redux);
|
exposeToPlugin('redux', redux);
|
||||||
exposeToPlugin('emotion', emotion);
|
exposeToPlugin('emotion', emotion);
|
||||||
exposeToPlugin('@emotion/css', emotion);
|
exposeToPlugin('@emotion/css', emotion);
|
||||||
|
exposeToPlugin('@emotion/react', emotionReact);
|
||||||
|
|
||||||
exposeToPlugin('app/features/dashboard/impression_store', {
|
exposeToPlugin('app/features/dashboard/impression_store', {
|
||||||
impressions: impressionSrv,
|
impressions: impressionSrv,
|
||||||
|
Loading…
Reference in New Issue
Block a user