mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Build: Replace babel-loader with esbuild-loader (#57837)
* build(webpack): replace babel-loader with esbuild-loader * build(webpack): add esbuild minifier to production builds * Wip * Removed ngInject and replaced with manual inject params * chore: bump esbuild to 0.15.13 * Fixed angular issues * build(frontend): update esbuild to 0.16.16 * chore(webpack): support browserslist for esbuild * build(esbuild): unify versions of esbuild to 0.16.17 and esbuild-loader to 2.21.0 Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
@@ -3,7 +3,8 @@ import { map, each, isUndefined } from 'lodash';
|
||||
import { textUtil } from '@grafana/data';
|
||||
import coreModule from 'app/angular/core_module';
|
||||
|
||||
/** @ngInject */
|
||||
coreModule.controller('SeriesOverridesCtrl', ['$scope', '$element', 'popoverSrv', SeriesOverridesCtrl]);
|
||||
|
||||
export function SeriesOverridesCtrl($scope: any, $element: JQuery, popoverSrv: any) {
|
||||
$scope.overrideMenu = [];
|
||||
$scope.currentOverrides = [];
|
||||
@@ -131,5 +132,3 @@ export function SeriesOverridesCtrl($scope: any, $element: JQuery, popoverSrv: a
|
||||
$scope.addOverrideOption('Hide in tooltip', 'hideTooltip', [true, false]);
|
||||
$scope.updateCurrentOverrides();
|
||||
}
|
||||
|
||||
coreModule.controller('SeriesOverridesCtrl', SeriesOverridesCtrl);
|
||||
|
||||
Reference in New Issue
Block a user