Commit c1fd4265 by Torkel Ödegaard

renamed extension point in the frontend

parent cdfbcbce
...@@ -54,7 +54,7 @@ profile.cov ...@@ -54,7 +54,7 @@ profile.cov
/pkg/cmd/grafana-server/grafana-server /pkg/cmd/grafana-server/grafana-server
/pkg/cmd/grafana-server/debug /pkg/cmd/grafana-server/debug
/pkg/extensions /pkg/extensions
/public/app/enterprise /public/app/extensions
debug.test debug.test
/examples/*/dist /examples/*/dist
/packaging/**/*.rpm /packaging/**/*.rpm
......
...@@ -29,10 +29,10 @@ _.move = (array, fromIndex, toIndex) => { ...@@ -29,10 +29,10 @@ _.move = (array, fromIndex, toIndex) => {
import { coreModule, registerAngularDirectives } from './core/core'; import { coreModule, registerAngularDirectives } from './core/core';
import { setupAngularRoutes } from './routes/routes'; import { setupAngularRoutes } from './routes/routes';
// import enterprise frontend // import symlinked extensions
const enterpriseIndex = (require as any).context('.', true, /enterprise\/index.ts/); const extensionsIndex = (require as any).context('.', true, /extensions\/index.ts/);
enterpriseIndex.keys().forEach(key => { extensionsIndex.keys().forEach(key => {
enterpriseIndex(key); extensionsIndex(key);
}); });
export class GrafanaApp { 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