mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 04:00:55 +08:00

* start marking up azuremonitor * more markup * finish mark up * add package and correct imports * convert to functional component + use correct t import * fix duplicate key + typo * add extract config + fake french translations to test * run prettier and fix unit tests * use nx * enable i18n lint rules for azure monitor * remove fake french translations * await initPluginTranslations * top level await breaks unit tests * leave as class component for now
15 lines
397 B
TypeScript
15 lines
397 B
TypeScript
import type { Configuration } from 'webpack';
|
|
import { merge } from 'webpack-merge';
|
|
|
|
import grafanaConfig from '@grafana/plugin-configs/webpack.config';
|
|
|
|
const config = async (env: Record<string, unknown>): Promise<Configuration> => {
|
|
const baseConfig = await grafanaConfig(env);
|
|
|
|
return merge(baseConfig, {
|
|
externals: ['@kusto/monaco-kusto', 'i18next'],
|
|
});
|
|
};
|
|
|
|
export default config;
|