Skip to content

Commit

Permalink
fix: enabling the nextjs static site generation for web and space (ma…
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramveeraghanta authored Oct 27, 2023
1 parent 4aad35e commit 597ea26
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ node_modules

# Production
/build
dist
dist/
out/

# Misc
.DS_Store
Expand Down
3 changes: 3 additions & 0 deletions space/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const nextConfig = {
experimental: {
outputFileTracingRoot: path.join(__dirname, "../"),
},
images: {
unoptimized: true,
},
output: "standalone",
};

Expand Down
7 changes: 4 additions & 3 deletions space/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"develop": "next dev -p 4000",
"build": "next build",
"start": "next start -p 4000",
"lint": "next lint"
"lint": "next lint",
"export": "next export"
},
"dependencies": {
"@blueprintjs/core": "^4.16.3",
Expand All @@ -16,8 +17,8 @@
"@emotion/styled": "^11.11.0",
"@headlessui/react": "^1.7.13",
"@mui/material": "^5.14.1",
"@plane/ui" : "*",
"@plane/lite-text-editor" : "*",
"@plane/ui": "*",
"@plane/lite-text-editor": "*",
"@plane/rich-text-editor": "*",
"axios": "^1.3.4",
"clsx": "^2.0.0",
Expand Down
1 change: 1 addition & 0 deletions web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const nextConfig = {
"localhost",
...extraImageDomains,
],
unoptimized: true,
},
output: "standalone",
experimental: {
Expand Down
3 changes: 2 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"develop": "next dev --port 3000",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"export": "next export"
},
"dependencies": {
"@blueprintjs/core": "^4.16.3",
Expand Down

0 comments on commit 597ea26

Please sign in to comment.