diff --git a/.gitignore b/.gitignore index a78b4a15da5..d8c5bc49225 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/public/app/app.ts b/public/app/app.ts index ba22c09bc56..298bf5609cd 100644 --- a/public/app/app.ts +++ b/public/app/app.ts @@ -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 {