Skip to content

Commit

Permalink
Update stack to Next.js 13 + Node 18 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanelian committed Nov 5, 2022
1 parent f2e901f commit fb6a834
Show file tree
Hide file tree
Showing 3 changed files with 242 additions and 247 deletions.
20 changes: 0 additions & 20 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,6 @@ const nextConfig = {
// https://nextjs.org/docs/basic-features/data-fetching/get-server-side-props
serverRuntimeConfig: require('./appsettings'),
productionBrowserSourceMaps: true,
/*
Disable swcMinify for now
https://github.com/vercel/next.js/issues/40889
https://github.com/ant-design/ant-design/issues/38106
index.js:235
TypeError: number 0 is not iterable (cannot read property Symbol(Symbol.iterator))
at new Map (<anonymous>)
at Overflow.js:173:1
at useBatchFrameState.js:32:34
at eD (Overflow.js:173:1)
at P (Item.js:33:1)
at Item.js:38:1
at uJ (react-dom.production.min.js:241:246)
at u1 (react-dom.production.min.js:245:114)
at o5 (react-dom.production.min.js:285:374)
at react-dom.production.min.js:284:398
*/
swcMinify: false,
async headers() {
return [
{
Expand Down
Loading

0 comments on commit fb6a834

Please sign in to comment.