Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: transpile packages update on space and admin apps

sriram veeraghanta0ec206b75df5
diff --git a/admin/next.config.js b/admin/next.config.js
index 2109cec69f..421f645e8b 100644
--- a/admin/next.config.js
+++ b/admin/next.config.js
@@ -9,6 +9,19 @@ const nextConfig = {
unoptimized: true,
},
basePath: process.env.NEXT_PUBLIC_ADMIN_BASE_PATH || "",
+ transpilePackages: [
+ "@plane/constants",
+ "@plane/editor",
+ "@plane/hooks",
+ "@plane/i18n",
+ "@plane/logger",
+ "@plane/propel",
+ "@plane/services",
+ "@plane/shared-state",
+ "@plane/types",
+ "@plane/ui",
+ "@plane/utils",
+ ],
};
module.exports = nextConfig;
diff --git a/space/next.config.js b/space/next.config.js
index 58b6cfa0be..aabd70cb4c 100644
--- a/space/next.config.js
+++ b/space/next.config.js
@@ -1,7 +1,9 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
/* eslint-disable @typescript-eslint/no-var-requires */
/** @type {import('next').NextConfig} */
+// eslint-disable-next-line @typescript-eslint/no-require-imports
require("dotenv").config({ path: ".env" });
+// eslint-disable-next-line @typescript-eslint/no-require-imports
const { withSentryConfig } = require("@sentry/nextjs");
const nextConfig = {
@@ -27,6 +29,19 @@ const nextConfig = {
],
unoptimized: true,
},
+ transpilePackages: [
+ "@plane/constants",
+ "@plane/editor",
+ "@plane/hooks",
+ "@plane/i18n",
+ "@plane/logger",
+ "@plane/propel",
+ "@plane/services",
+ "@plane/shared-state",
+ "@plane/types",
+ "@plane/ui",
+ "@plane/utils",
+ ],
};
const sentryConfig = {
diff --git a/web/next.config.js b/web/next.config.js
index 8422342b61..7f83ec7420 100644
--- a/web/next.config.js
+++ b/web/next.config.js
@@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
/** @type {import("next").NextConfig} */
+// eslint-disable-next-line @typescript-eslint/no-require-imports
require("dotenv").config({ path: ".env" });
const nextConfig = {