Skip to content

Commit

Permalink
chore(refine-nextjs): remove redundant experimental config (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir authored Oct 20, 2023
1 parent c31bd2d commit 7db6757
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions refine-nextjs/template/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,17 @@
const { i18n } = require("./next-i18next.config");

module.exports = {
i18n, experimental: {
newNextLinkBehavior: true,
},
i18n,
};
<%_ } else if (answers["ui-framework"] === "antd" && answers[`i18n-${answers["ui-framework"]}`] === "no") { _%>
module.exports = {
experimental: {
newNextLinkBehavior: true,
},
};
module.exports = {};
<%_ } else if (answers[`i18n-${answers["ui-framework"]}`] !== "no") { _%>
const { i18n } = require("./next-i18next.config");

module.exports = {
i18n, experimental: {
newNextLinkBehavior: true,
},
i18n,
};
<%_ } else { _%>
module.exports = {
experimental: {
newNextLinkBehavior: true,
},
};
module.exports = {};
<%_ } _%>

0 comments on commit 7db6757

Please sign in to comment.