add typings for grafana packages
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
"url": "https://github.com/alexanderzobnin/grafana-zabbix/issues"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@grafana/data": "^6.4.2",
|
||||
"@grafana/ui": "^6.4.2",
|
||||
"@types/classnames": "^2.2.6",
|
||||
"@types/grafana": "github:CorpGlory/types-grafana",
|
||||
"@types/jest": "^23.1.1",
|
||||
|
||||
@@ -28,7 +28,7 @@ module.exports = {
|
||||
externals: [
|
||||
// remove the line below if you don't want to use builtin versions
|
||||
'jquery', 'lodash', 'moment', 'angular',
|
||||
'react', 'react-dom', '@grafana/ui',
|
||||
'react', 'react-dom', '@grafana/ui', '@grafana/data',
|
||||
function (context, request, callback) {
|
||||
var prefix = 'grafana/';
|
||||
if (request.indexOf(prefix) === 0) {
|
||||
|
||||
Reference in New Issue
Block a user