fix: add next 11
This commit is contained in:
+3
-3
@@ -7,9 +7,9 @@ module.exports = {
|
||||
siteUrl: 'https://miphospital.ir',
|
||||
generateRobotsTxt: true, // (optional)
|
||||
...withImages(),
|
||||
future: {
|
||||
webpack5: true
|
||||
},
|
||||
// future: {
|
||||
// webpack5: true
|
||||
// },
|
||||
images: {
|
||||
disableStaticImages: true
|
||||
}
|
||||
|
||||
Generated
+8939
-5816
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -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,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'/>
|
||||
|
||||
Reference in New Issue
Block a user