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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
import { reactRouter } from "@react-router/dev/vite";
import tailwindcss from "@tailwindcss/vite";
import type { PluginOption } from "vite";
import { defineConfig } from "vite";
export default defineConfig({
build: {
sourcemap: false,
rolldownOptions: {
onwarn(warning, defaultHandler) {
if (warning.code === "SOURCEMAP_ERROR") {
return;
}
defaultHandler(warning);
}
}
},
define: {
global: "globalThis"
},
optimizeDeps: {
extensions: [".css", ".scss", ".sass"] // explicitly include CSS extensions if needed
},
ssr: {
noExternal: ["react-dropzone", "react-icons", "tailwind-merge"]
},
server: {
port: 5001,
strictPort: true
},
resolve: {
tsconfigPaths: true
},
plugins: [tailwindcss(), reactRouter()] as PluginOption[]
});