Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

build: novel editor causing buidl errors

Brad Barbin5e03791a0330
diff --git a/apps/erp/vite.config.ts b/apps/erp/vite.config.ts
index fb2e71cff4..a70f74bb76 100644
--- a/apps/erp/vite.config.ts
+++ b/apps/erp/vite.config.ts
@@ -24,7 +24,7 @@ export default defineConfig({
},
ssr: {
noExternal: [
- "novel",
+ ...(process.env.NODE_ENV === "development" ? ["novel"] : []),
"react-tweet",
"react-dropzone",
"react-icons",