update to next 15: use turbo, ts next config
This commit is contained in:
1 parent
845cd2b327
commit
4ce495a1cd
4 files changed
+2239
-1858
No files matched your search
@@ -1,15 +0,0 @@
|
||||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
const nextConfig = {
|
||||
trailingSlash: false,
|
||||
images: {
|
||||
domains: [
|
||||
"hudozkacdn.tmshv.com",
|
||||
"images.weserv.nl",
|
||||
],
|
||||
},
|
||||
/* config options here */
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
@@ -0,0 +1,13 @@
|
||||
import type { NextConfig } from "next"
|
||||
|
||||
const config: NextConfig = {
|
||||
trailingSlash: false,
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{ hostname: "hudozkacdn.tmshv.com" },
|
||||
{ hostname: "images.weserv.nl" },
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
Generated
+2223
-1840
File diff suppressed because it is too large.
Load diff
+3
-3
@@ -5,7 +5,7 @@
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"start": "next start",
|
||||
"dev": "next dev",
|
||||
"dev": "next dev --turbo",
|
||||
"build": "next build",
|
||||
"lint": "next lint",
|
||||
"format": "next lint --fix",
|
||||
@@ -25,7 +25,7 @@
|
||||
"dangerously-set-html-content": "^1.0.13",
|
||||
"date-fns": "^2.29.0",
|
||||
"markdown-it": "^13.0.1",
|
||||
"next": "^14.2.0",
|
||||
"next": "^15.0.0",
|
||||
"next-seo": "^5.15.0",
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.0",
|
||||
@@ -43,7 +43,7 @@
|
||||
"@types/react": "^18.0.18",
|
||||
"@types/sharp": "^0.29.2",
|
||||
"eslint": "^8.42.0",
|
||||
"eslint-config-next": "^14.2.0",
|
||||
"eslint-config-next": "^15.0.0",
|
||||
"feed": "^4.1.0",
|
||||
"typescript": "^4.9.0"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user