fix: add next 11

This commit is contained in:
2024-01-04 12:47:38 +03:30
parent 11abd2ad17
commit a2468ddfee
5 changed files with 16506 additions and 13672 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ module.exports = {
siteUrl: 'https://miphospital.ir',
generateRobotsTxt: true, // (optional)
...withImages(),
future: {
webpack5: true
},
// future: {
// webpack5: true
// },
images: {
disableStaticImages: true
}
+9405 -6282
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -31,7 +31,7 @@
"leaflet-geosearch": "^3.3.2",
"mdb-react-ui-kit": "^1.0.0-beta7",
"moment-jalaali": "^0.9.6",
"next": "^10.2.3",
"next": "^11.1.4",
"next-images": "^1.8.1",
"next-sitemap": "^3.1.22",
"nprogress": "^0.2.0",
@@ -59,6 +59,7 @@
},
"devDependencies": {
"autoprefixer": "^10.4.0",
"eslint": "^8.56.0",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.2"
}
+1 -2
View File
@@ -1,7 +1,6 @@
import React from 'react'
import dynamic from 'next/dist/next-server/lib/dynamic'
import { Skeleton } from '@chakra-ui/react'
import dynamic from 'next/dynamic'
const StockPriceChart = dynamic(() => import('../../src/components/Chart'), {
ssr: false,
loading: () => <Skeleton height={200} className='w-full'/>
+5442 -5731
View File
File diff suppressed because it is too large Load Diff