fix function editor in Grafana 6, #765
This commit is contained in:
@@ -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',
|
||||
'react', 'react-dom', '@grafana/ui',
|
||||
function (context, request, callback) {
|
||||
var prefix = 'grafana/';
|
||||
if (request.indexOf(prefix) === 0) {
|
||||
@@ -53,7 +53,7 @@ module.exports = {
|
||||
ExtractTextPluginDark,
|
||||
],
|
||||
resolve: {
|
||||
extensions: [".js", ".ts", ".tsx", ".html", ".scss"]
|
||||
extensions: ['.js', '.es6', '.ts', '.tsx', '.html', '.scss']
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
|
||||
Reference in New Issue
Block a user