We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 848f03f commit fe67cdbCopy full SHA for fe67cdb
packages/nextjs/src/config/webpack.ts
@@ -86,8 +86,8 @@ export function constructWebpackConfigFunction(
86
test: new RegExp(`${escapeStringForRegex(projectDir)}(/src)?/pages/.*\\.(jsx?|tsx?)`),
87
use: [
88
{
89
- loader: path.resolve(__dirname, 'loaders/dataFetchersLoader.js'),
90
- options: { projectDir, pagesDir },
+ loader: path.resolve(__dirname, 'loaders/proxyLoader.js'),
+ options: { pagesDir },
91
},
92
],
93
});
0 commit comments