MCPcopy Create free account
hub / github.com/Azure-Samples/llama-index-python / webpack

Function webpack

frontend/webpack.config.mjs:1–13  ·  view source on GitHub ↗
(config, isServer)

Source from the content-addressed store, hash-verified

1export default function webpack(config, isServer) {
2 config.resolve.fallback = {
3 aws4: false,
4 };
5 config.module.rules.push({
6 test: /\.node$/,
7 loader: "node-loader",
8 });
9 if (isServer) {
10 config.ignoreWarnings = [{ module: /opentelemetry/ }];
11 }
12 return config;
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected