mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
renamed extension point in the frontend
This commit is contained in:
parent
cdfbcbce22
commit
c1fd4265a9
2
.gitignore
vendored
2
.gitignore
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user