mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 16:27:02 -06:00
Azure Monitor: Externalise kusto (#84749)
fix(azuremonitor): externalise kusto so it loads via core
This commit is contained in:
parent
d5e293c18d
commit
421ef641d0
@ -1,3 +1,14 @@
|
||||
import config from '@grafana/plugin-configs/webpack.config';
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user