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

This commit is contained in:
Ryan McKinley
2019-08-14 00:20:23 -07:00
committed by GitHub
parent 0ba07720df
commit 63f47fd8e2
2 changed files with 6 additions and 0 deletions
@@ -151,6 +151,8 @@ export const getWebpackConfig: WebpackConfigurationGetter = options => {
'slate-react',
'react',
'react-dom',
'react-redux',
'redux',
'rxjs',
'd3',
'angular',
@@ -15,6 +15,8 @@ import slateReact from 'slate-react';
import slatePlain from 'slate-plain-serializer';
import react from 'react';
import reactDom from 'react-dom';
import reactRedux from 'react-redux';
import redux from 'redux';
import config from 'app/core/config';
import TimeSeries from 'app/core/time_series2';
@@ -93,6 +95,8 @@ exposeToPlugin('slate-react', slateReact);
exposeToPlugin('slate-plain-serializer', slatePlain);
exposeToPlugin('react', react);
exposeToPlugin('react-dom', reactDom);
exposeToPlugin('react-redux', reactRedux);
exposeToPlugin('redux', redux);
exposeToPlugin('emotion', emotion);
exposeToPlugin('app/features/dashboard/impression_store', {