Bundle runtime-core in t3 build configuration

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 15:57:17 +00:00
1 parent eb38f3c475
commit 3e0bdaff2f
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -35,4 +35,12 @@ describe("runtime architecture boundaries", () => {
expect(fs.existsSync(legacyDesktopPackagePath)).toBe(false);
});
it("keeps runtime-core bundled into published t3 runtime output", () => {
const tsupConfigPath = path.resolve(import.meta.dirname, "..", "tsup.config.ts");
const tsupConfigSource = fs.readFileSync(tsupConfigPath, "utf8");
expect(tsupConfigSource).toContain("\"@acme/runtime-core\"");
expect(tsupConfigSource).toContain("noExternal");
});
});
+1 -1
View File
@@ -5,6 +5,6 @@ export default defineConfig({
format: ["esm"],
dts: true,
clean: true,
noExternal: ["@acme/contracts"],
noExternal: ["@acme/contracts", "@acme/runtime-core"],
outDir: "dist",
});