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.

refactor: move tailwind-merge to ssr.noExternal

Brad Barbinb01a897ecd7a
diff --git a/apps/carbon/app/entry.server.tsx b/apps/carbon/app/entry.server.tsx
index 802193123f..f4eab15db8 100644
--- a/apps/carbon/app/entry.server.tsx
+++ b/apps/carbon/app/entry.server.tsx
@@ -6,7 +6,6 @@ import type { EntryContext } from "@vercel/remix";
import { handleRequest } from "@vercel/remix";
import { parseAcceptLanguage } from "intl-parse-accept-language";
-
export * from "~/jobs";
export default async function (
diff --git a/apps/carbon/vite.config.ts b/apps/carbon/vite.config.ts
index c39e22cf6b..f57108f932 100644
--- a/apps/carbon/vite.config.ts
+++ b/apps/carbon/vite.config.ts
@@ -9,7 +9,6 @@ export default defineConfig({
build: {
sourcemap: true,
rollupOptions: {
- external: ["tailwind-merge"],
onwarn(warning, defaultHandler) {
if (warning.code === "SOURCEMAP_ERROR") {
return;
@@ -25,6 +24,7 @@ export default defineConfig({
"react-dropzone",
"react-icons",
"react-phone-number-input",
+ "tailwind-merge",
],
},
server: {