Skip to content

Commit

Permalink
Merge pull request #1784 from Agenta-AI/issue-1564/-upgrade-to-nextjs-14
Browse files Browse the repository at this point in the history
Enhancement: Upgrade to Next 14
  • Loading branch information
aakrem authored Jun 12, 2024
2 parents d7baab9 + 4731831 commit 8ebcb68
Show file tree
Hide file tree
Showing 3 changed files with 191 additions and 130 deletions.
12 changes: 11 additions & 1 deletion agenta-web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ const nextConfig = {
reactStrictMode: true,
pageExtensions: ["ts", "tsx", "js", "jsx", "md", "mdx"],
productionBrowserSourceMaps: true,
transpilePackages: ["@lobehub/icons"],
transpilePackages: [
"@lobehub/icons",
"rc-util",
"antd",
"rc-pagination",
"rc-picker",
"rc-tree",
"rc-table",
"@ant-design/icons",
"@ant-design/icons-svg",
],
swcMinify: true,

async redirects() {
Expand Down
Loading

0 comments on commit 8ebcb68

Please sign in to comment.