fix: enabling the nextjs static site generation for web and space (#2547)

This commit is contained in:
sriram veeraghanta 2023-10-27 13:14:03 +05:30 committed by GitHub
parent 4aad35e007
commit 597ea26d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

3
.gitignore vendored
View File

@ -16,7 +16,8 @@ node_modules
# Production # Production
/build /build
dist dist/
out/
# Misc # Misc
.DS_Store .DS_Store

View File

@ -8,6 +8,9 @@ const nextConfig = {
experimental: { experimental: {
outputFileTracingRoot: path.join(__dirname, "../"), outputFileTracingRoot: path.join(__dirname, "../"),
}, },
images: {
unoptimized: true,
},
output: "standalone", output: "standalone",
}; };

View File

@ -7,7 +7,8 @@
"develop": "next dev -p 4000", "develop": "next dev -p 4000",
"build": "next build", "build": "next build",
"start": "next start -p 4000", "start": "next start -p 4000",
"lint": "next lint" "lint": "next lint",
"export": "next export"
}, },
"dependencies": { "dependencies": {
"@blueprintjs/core": "^4.16.3", "@blueprintjs/core": "^4.16.3",
@ -16,8 +17,8 @@
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",
"@headlessui/react": "^1.7.13", "@headlessui/react": "^1.7.13",
"@mui/material": "^5.14.1", "@mui/material": "^5.14.1",
"@plane/ui" : "*", "@plane/ui": "*",
"@plane/lite-text-editor" : "*", "@plane/lite-text-editor": "*",
"@plane/rich-text-editor": "*", "@plane/rich-text-editor": "*",
"axios": "^1.3.4", "axios": "^1.3.4",
"clsx": "^2.0.0", "clsx": "^2.0.0",

View File

@ -21,6 +21,7 @@ const nextConfig = {
"localhost", "localhost",
...extraImageDomains, ...extraImageDomains,
], ],
unoptimized: true,
}, },
output: "standalone", output: "standalone",
experimental: { experimental: {

View File

@ -7,7 +7,8 @@
"develop": "next dev --port 3000", "develop": "next dev --port 3000",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint",
"export": "next export"
}, },
"dependencies": { "dependencies": {
"@blueprintjs/core": "^4.16.3", "@blueprintjs/core": "^4.16.3",