Skip to content

Commit

Permalink
Downgrade next to 14.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Miller committed Nov 10, 2023
1 parent 836269b commit 9498b58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions apps/next/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ const disableBrowserLogs =
const enableMillionJS =
boolVals[process.env.ENABLE_MILLION_JS] ?? process.env.NODE_ENV === 'production'

const enablePattyCake =
boolVals[process.env.ENABLE_PATTY_CAKE] ?? process.env.NODE_ENV === 'production'
// Temporarily disabled, produces chatty logs
const enablePattyCake = false
// boolVals[process.env.ENABLE_PATTY_CAKE] ?? process.env.NODE_ENV === 'production'

// Enabling causes FOUC on page refreshes
const optimizeCss = false
Expand Down Expand Up @@ -87,6 +88,7 @@ module.exports = function () {
- The `/app` in this starter has the same routes as the `/pages` directory. You should probably remove `/pages` after enabling this.
*/
optimizeCss,
webpackBuildWorker: true,
forceSwcTransforms: true,
scrollRestoration: true,
swcPlugins: [
Expand Down
4 changes: 2 additions & 2 deletions apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@tsndr/cloudflare-worker-jwt": "^2.2.5",
"app": "*",
"million": "2.6.4",
"next": "14.0.2",
"next": "14.0.1",
"next-seo": "^6.4.0",
"next-superjson-plugin": "^0.5.10",
"pattycake": "^0.0.2",
Expand All @@ -31,6 +31,6 @@
"devDependencies": {
"@tamagui/next-plugin": "1.75.9",
"@types/react": "^18.2.37",
"vercel": "^32.5.3"
"vercel": "32.5.3"
}
}
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit 9498b58

Please sign in to comment.