Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
63f47fd8
Unverified
Commit
63f47fd8
authored
Aug 14, 2019
by
Ryan McKinley
Committed by
GitHub
Aug 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plugins: expose react-redux, redux (#18501)
parent
0ba07720
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
packages/grafana-toolkit/src/config/webpack.plugin.config.ts
+2
-0
public/app/features/plugins/plugin_loader.ts
+4
-0
No files found.
packages/grafana-toolkit/src/config/webpack.plugin.config.ts
View file @
63f47fd8
...
...
@@ -151,6 +151,8 @@ export const getWebpackConfig: WebpackConfigurationGetter = options => {
'slate-react'
,
'react'
,
'react-dom'
,
'react-redux'
,
'redux'
,
'rxjs'
,
'd3'
,
'angular'
,
...
...
public/app/features/plugins/plugin_loader.ts
View file @
63f47fd8
...
...
@@ -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'
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment