mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 08:47:12 -06:00
421ef641d0
fix(azuremonitor): externalise kusto so it loads via core
15 lines
386 B
TypeScript
15 lines
386 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'],
|
|
});
|
|
};
|
|
|
|
export default config;
|