exclude @grafana/runtime from build

This commit is contained in:
Alexander Zobnin
2020-01-16 12:50:26 +03:00
parent f7adf0e379
commit b28b13ba7a

View File

@@ -28,7 +28,7 @@ module.exports = {
externals: [
// remove the line below if you don't want to use builtin versions
'jquery', 'lodash', 'moment', 'angular', 'emotion',
'react', 'react-dom', '@grafana/ui', '@grafana/data',
'react', 'react-dom', '@grafana/ui', '@grafana/data', '@grafana/runtime',
function (context, request, callback) {
var prefix = 'grafana/';
if (request.indexOf(prefix) === 0) {