Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/plugin-runtime/src/package-exports.test.ts
T

13 lines
483 B
TypeScript

import { describe, expect, test } from "vitest";
import packageJson from "../package.json" with { type: "json" };
describe("plugin runtime package exports", () => {
test("exposes browser-safe subpaths without forcing the node runtime aggregate into web bundles", () => {
expect(packageJson.exports).toMatchObject({
"./capabilities": "./src/capabilities.ts",
"./hooks/registry": "./src/hooks/registry.ts",
"./manifest": "./src/manifest.ts",
});
});
});