Skip to content

Commit

Permalink
website: Next.JS 15 & improvements
Browse files Browse the repository at this point in the history
* improve the main page code, Lighthouse found that the text parts were slowing stuff down
* CSS improvements across the site
* Next.JS 15 and React 19
* React Compiler
* Mobile improvements
  • Loading branch information
nikosszzz committed Oct 26, 2024
1 parent 3ec1be1 commit 745add9
Show file tree
Hide file tree
Showing 26 changed files with 1,116 additions and 896 deletions.
29 changes: 0 additions & 29 deletions next.config.js

This file was deleted.

21 changes: 21 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export default {
basePath: "",
output: "export",
reactStrictMode: true,
compress: true,
images: {
unoptimized: true,
dangerouslyAllowSVG: true
},
experimental: {
optimizeCss: true,
optimisticClientCache: true,
typedRoutes: true,
optimizeServerReact: true,
serverMinification: true,
reactCompiler: true,
staleTimes: {
dynamic: 30
},
}
} satisfies import("next").NextConfig;
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
"lint": "next lint"
},
"dependencies": {
"@types/node": "20.16.5",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@types/node": "20.17.1",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"autoprefixer": "10.4.20",
"critters": "0.0.24",
"dotenv": "^16.4.5",
"eslint": "9.10.0",
"eslint-config-next": "14.2.9",
"next": "14.2.9",
"postcss": "8.4.45",
"react": "18.3.1",
"react-dom": "18.3.1",
"tailwindcss": "3.4.10",
"typescript": "5.6.2"
"babel-plugin-react-compiler": "19.0.0-beta-8a03594-20241020",
"critters": "0.0.25",
"eslint": "9.13.0",
"eslint-config-next": "15.0.1",
"next": "15.0.1",
"postcss": "8.4.47",
"react": "19.0.0-rc-cae764ce-20241025",
"react-dom": "19.0.0-rc-cae764ce-20241025",
"tailwindcss": "3.4.14",
"typescript": "5.6.3"
}
}
Loading

0 comments on commit 745add9

Please sign in to comment.