Commit 63f47fd8 by Ryan McKinley Committed by GitHub

Plugins: expose react-redux, redux (#18501)

parent 0ba07720
...@@ -151,6 +151,8 @@ export const getWebpackConfig: WebpackConfigurationGetter = options => { ...@@ -151,6 +151,8 @@ export const getWebpackConfig: WebpackConfigurationGetter = options => {
'slate-react', 'slate-react',
'react', 'react',
'react-dom', 'react-dom',
'react-redux',
'redux',
'rxjs', 'rxjs',
'd3', 'd3',
'angular', 'angular',
......
...@@ -15,6 +15,8 @@ import slateReact from 'slate-react'; ...@@ -15,6 +15,8 @@ import slateReact from 'slate-react';
import slatePlain from 'slate-plain-serializer'; import slatePlain from 'slate-plain-serializer';
import react from 'react'; import react from 'react';
import reactDom from 'react-dom'; import reactDom from 'react-dom';
import reactRedux from 'react-redux';
import redux from 'redux';
import config from 'app/core/config'; import config from 'app/core/config';
import TimeSeries from 'app/core/time_series2'; import TimeSeries from 'app/core/time_series2';
...@@ -93,6 +95,8 @@ exposeToPlugin('slate-react', slateReact); ...@@ -93,6 +95,8 @@ exposeToPlugin('slate-react', slateReact);
exposeToPlugin('slate-plain-serializer', slatePlain); exposeToPlugin('slate-plain-serializer', slatePlain);
exposeToPlugin('react', react); exposeToPlugin('react', react);
exposeToPlugin('react-dom', reactDom); exposeToPlugin('react-dom', reactDom);
exposeToPlugin('react-redux', reactRedux);
exposeToPlugin('redux', redux);
exposeToPlugin('emotion', emotion); exposeToPlugin('emotion', emotion);
exposeToPlugin('app/features/dashboard/impression_store', { exposeToPlugin('app/features/dashboard/impression_store', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment