mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 08:47:12 -06:00
6796e66fb8
* Pyroscope standalone build * Fix for tests * Add missing packages * Remove import * Update trace to profiles * Update test
16 lines
424 B
TypeScript
16 lines
424 B
TypeScript
import config from '@grafana/plugin-configs/webpack.config';
|
|
|
|
const configWithFallback = async (env: Record<string, unknown>) => {
|
|
const response = await config(env);
|
|
if (response !== undefined && response.resolve !== undefined) {
|
|
response.resolve.fallback = {
|
|
...response.resolve.fallback,
|
|
stream: false,
|
|
string_decoder: false,
|
|
};
|
|
}
|
|
return response;
|
|
};
|
|
|
|
export default configWithFallback;
|