fix(deps): migrate ESLint tooling for Next.js 16
This commit is contained in:
@@ -6,7 +6,6 @@ const test = (name, fn) => tests.push({ name, fn });
|
||||
|
||||
const loadRewrites = async () => {
|
||||
const configPath = path.join(__dirname, "..", "..", "next.config.js");
|
||||
// eslint-disable-next-line global-require, import/no-dynamic-require
|
||||
const nextConfig = require(configPath);
|
||||
return nextConfig.rewrites();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user