mirror of
https://github.com/dzeiocom/libs.git
synced 2025-04-23 19:32:14 +00:00
Fixed NextJS config
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
parent
49d5e98a43
commit
02d733e150
@ -1,4 +1,4 @@
|
|||||||
import { NextConfig, defaultConfig } from 'next/dist/next-server/server/config-shared'
|
import { NextConfig, defaultConfig } from 'next/dist/server/config-shared'
|
||||||
import { PHASE_DEVELOPMENT_SERVER } from 'next/constants'
|
import { PHASE_DEVELOPMENT_SERVER } from 'next/constants'
|
||||||
// @ts-expect-error next-pre-css has no typing available
|
// @ts-expect-error next-pre-css has no typing available
|
||||||
import preCSS from 'next-pre-css'
|
import preCSS from 'next-pre-css'
|
||||||
@ -11,7 +11,7 @@ export const config = (additionnalHost: string): typeof defaultConfig & NextConf
|
|||||||
experimental: {
|
experimental: {
|
||||||
plugins: true,
|
plugins: true,
|
||||||
profiling: process.env.NODE_ENV === 'developpment',
|
profiling: process.env.NODE_ENV === 'developpment',
|
||||||
sprFlushToDisk: true,
|
isrFlushToDisk: true,
|
||||||
|
|
||||||
// Bugged
|
// Bugged
|
||||||
// https://github.com/vercel/next.js/issues/18913
|
// https://github.com/vercel/next.js/issues/18913
|
||||||
|
6728
packages/config/package-lock.json
generated
Normal file
6728
packages/config/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -10,13 +10,13 @@
|
|||||||
"directory": "packages/config"
|
"directory": "packages/config"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^16.3.2",
|
"@types/node": "^16.10.1",
|
||||||
"next": "^11.0.1",
|
"next": "^11.1.2",
|
||||||
"typescript": "^4.3.5"
|
"typescript": "^4.3.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/parser": "^4.28.2",
|
"@typescript-eslint/parser": "^4.28.2",
|
||||||
"next": "^11.0.1",
|
"next": "^11.1.2",
|
||||||
"next-pre-css": "^1.0.0"
|
"next-pre-css": "^1.0.0"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user