diff --git a/.gitignore b/.gitignore index 8bf25a3f311..7568602d31f 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,8 @@ node_modules # Production /build -dist +dist/ +out/ # Misc .DS_Store diff --git a/space/next.config.js b/space/next.config.js index bd3749f102f..7e986578476 100644 --- a/space/next.config.js +++ b/space/next.config.js @@ -8,6 +8,9 @@ const nextConfig = { experimental: { outputFileTracingRoot: path.join(__dirname, "../"), }, + images: { + unoptimized: true, + }, output: "standalone", }; diff --git a/space/package.json b/space/package.json index 3c32211d03f..5f3f60dc9c2 100644 --- a/space/package.json +++ b/space/package.json @@ -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", @@ -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", diff --git a/web/next.config.js b/web/next.config.js index 058a68b7d23..1bfac8fd2c7 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -21,6 +21,7 @@ const nextConfig = { "localhost", ...extraImageDomains, ], + unoptimized: true, }, output: "standalone", experimental: { diff --git a/web/package.json b/web/package.json index c80d4c50935..c4513a555b6 100644 --- a/web/package.json +++ b/web/package.json @@ -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",