Files
zjdataai-app/frontend/webpack.config.mjs
T
2024-08-08 18:33:08 +08:00

9 lines
301 B
JavaScript

// webpack config must be a function in NextJS that is used to patch the default webpack config provided by NextJS, see https://nextjs.org/docs/pages/api-reference/next-config-js/webpack
export default function webpack(config) {
config.resolve.fallback = {
aws4: false,
};
return config;
}