Commit c1fd4265 by Torkel Ödegaard

renamed extension point in the frontend

parent cdfbcbce
......@@ -54,7 +54,7 @@ profile.cov
/pkg/cmd/grafana-server/grafana-server
/pkg/cmd/grafana-server/debug
/pkg/extensions
/public/app/enterprise
/public/app/extensions
debug.test
/examples/*/dist
/packaging/**/*.rpm
......
......@@ -29,10 +29,10 @@ _.move = (array, fromIndex, toIndex) => {
import { coreModule, registerAngularDirectives } from './core/core';
import { setupAngularRoutes } from './routes/routes';
// import enterprise frontend
const enterpriseIndex = (require as any).context('.', true, /enterprise\/index.ts/);
enterpriseIndex.keys().forEach(key => {
enterpriseIndex(key);
// import symlinked extensions
const extensionsIndex = (require as any).context('.', true, /extensions\/index.ts/);
extensionsIndex.keys().forEach(key => {
extensionsIndex(key);
});
export class GrafanaApp {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment