exclude @grafana/runtime from build
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = {
|
|||||||
externals: [
|
externals: [
|
||||||
// remove the line below if you don't want to use builtin versions
|
// remove the line below if you don't want to use builtin versions
|
||||||
'jquery', 'lodash', 'moment', 'angular', 'emotion',
|
'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) {
|
function (context, request, callback) {
|
||||||
var prefix = 'grafana/';
|
var prefix = 'grafana/';
|
||||||
if (request.indexOf(prefix) === 0) {
|
if (request.indexOf(prefix) === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user