core-plugin-api: Deprecate Plugin register and output

Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-11-23 16:33:29 +01:00
parent 68eddf88a0
commit a3c5b2f70b
4 changed files with 61 additions and 18 deletions
+1 -3
View File
@@ -34,9 +34,7 @@ export const unlabeledDataflowAlertRef = createRouteRef({
export const costInsightsPlugin = createPlugin({
id: 'cost-insights',
register({ featureFlags }) {
featureFlags.register('cost-insights-currencies');
},
featureFlags: [{ name: 'cost-insights-currencies' }],
routes: {
root: rootRouteRef,
growthAlerts: projectGrowthAlertRef,