@superblocksteam/sdk 2.0.139-next.0 → 2.0.139-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/dist/application-build.d.mts.map +1 -1
- package/dist/application-build.mjs +0 -3
- package/dist/application-build.mjs.map +1 -1
- package/dist/dev-utils/dev-server.d.mts +0 -9
- package/dist/dev-utils/dev-server.d.mts.map +1 -1
- package/dist/dev-utils/dev-server.mjs +0 -16
- package/dist/dev-utils/dev-server.mjs.map +1 -1
- package/package.json +6 -7
- package/src/application-build.mts +0 -4
- package/src/dev-utils/dev-server.mts +0 -17
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/dev-utils/dev-server-resolve-config.test.d.mts +0 -2
- package/dist/dev-utils/dev-server-resolve-config.test.d.mts.map +0 -1
- package/dist/dev-utils/dev-server-resolve-config.test.mjs +0 -20
- package/dist/dev-utils/dev-server-resolve-config.test.mjs.map +0 -1
- package/dist/react-compiler-runtime-shim.d.mts +0 -23
- package/dist/react-compiler-runtime-shim.d.mts.map +0 -1
- package/dist/react-compiler-runtime-shim.mjs +0 -44
- package/dist/react-compiler-runtime-shim.mjs.map +0 -1
- package/dist/react-compiler-runtime-shim.test.d.mts +0 -2
- package/dist/react-compiler-runtime-shim.test.d.mts.map +0 -1
- package/dist/react-compiler-runtime-shim.test.mjs +0 -23
- package/dist/react-compiler-runtime-shim.test.mjs.map +0 -1
- package/src/dev-utils/dev-server-resolve-config.test.mts +0 -29
- package/src/react-compiler-runtime-shim.mts +0 -50
- package/src/react-compiler-runtime-shim.test.mts +0 -26
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev-server-resolve-config.test.d.mts","sourceRoot":"","sources":["../../src/dev-utils/dev-server-resolve-config.test.mts"],"names":[],"mappings":""}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { existsSync } from "node:fs";
|
|
2
|
-
import { isAbsolute } from "node:path";
|
|
3
|
-
import { describe, expect, it } from "vitest";
|
|
4
|
-
import { buildResolveConfig } from "./dev-server.mjs";
|
|
5
|
-
describe("buildResolveConfig", () => {
|
|
6
|
-
it("aliases react/compiler-runtime to an existing shim file", () => {
|
|
7
|
-
const config = buildResolveConfig();
|
|
8
|
-
const aliases = config?.alias;
|
|
9
|
-
const entry = aliases.find((a) => a.find === "react/compiler-runtime");
|
|
10
|
-
expect(entry).toBeDefined();
|
|
11
|
-
expect(isAbsolute(entry.replacement)).toBe(true);
|
|
12
|
-
expect(existsSync(entry.replacement)).toBe(true);
|
|
13
|
-
});
|
|
14
|
-
it("does not alias bare react or react/jsx-runtime", () => {
|
|
15
|
-
const aliases = buildResolveConfig()?.alias;
|
|
16
|
-
expect(aliases.some((a) => a.find === "react")).toBe(false);
|
|
17
|
-
expect(aliases.some((a) => a.find === "react/jsx-runtime")).toBe(false);
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=dev-server-resolve-config.test.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev-server-resolve-config.test.mjs","sourceRoot":"","sources":["../../src/dev-utils/dev-server-resolve-config.test.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,EAAE,CAAC,yDAAyD,EAAE,GAAG,EAAE;QACjE,MAAM,MAAM,GAAG,kBAAkB,EAAE,CAAC;QACpC,MAAM,OAAO,GAAG,MAAM,EAAE,KAGtB,CAAC;QAEH,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,wBAAwB,CAAC,CAAC;QACvE,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;QAC5B,MAAM,CAAC,UAAU,CAAC,KAAM,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,CAAC,UAAU,CAAC,KAAM,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;QACxD,MAAM,OAAO,GAAG,kBAAkB,EAAE,EAAE,KAEpC,CAAC;QACH,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5D,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Alias } from "vite";
|
|
2
|
-
/**
|
|
3
|
-
* Vite alias mapping the React 19-only `react/compiler-runtime` specifier to
|
|
4
|
-
* the React-team `react-compiler-runtime` shim, which is API-compatible on
|
|
5
|
-
* React 17/18. Shared by the live-edit dev server and the production build so
|
|
6
|
-
* that user code (or a dependency) emitting `react/compiler-runtime` imports
|
|
7
|
-
* resolves against our React 18.3.1 runtime instead of crashing Vite
|
|
8
|
-
* resolution with `Missing "./compiler-runtime" specifier in "react" package`
|
|
9
|
-
* (APPS-2887).
|
|
10
|
-
*
|
|
11
|
-
* The exact-match string `find` fires only for `react/compiler-runtime`, never
|
|
12
|
-
* `react`, `react/jsx-runtime`, or `react-dom`.
|
|
13
|
-
*
|
|
14
|
-
* Returns `null` (and logs) if the shim package cannot be resolved — e.g. a
|
|
15
|
-
* corrupted or partial SDK install. Skipping the alias keeps the dev server /
|
|
16
|
-
* build starting for every other app instead of throwing synchronously inside
|
|
17
|
-
* `createServer()`/`build()` and permanently rejecting `vitePromise`, which
|
|
18
|
-
* would reproduce the very infinite-spinner symptom this fix removes. Only an
|
|
19
|
-
* app that actually imports `react/compiler-runtime` would then hit the
|
|
20
|
-
* original (now clearly-logged) resolution error.
|
|
21
|
-
*/
|
|
22
|
-
export declare function reactCompilerRuntimeAlias(resolve?: (id: string) => string): Alias | null;
|
|
23
|
-
//# sourceMappingURL=react-compiler-runtime-shim.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-compiler-runtime-shim.d.mts","sourceRoot":"","sources":["../src/react-compiler-runtime-shim.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAUlC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,yBAAyB,CAEvC,OAAO,GAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAuC,GAC/D,KAAK,GAAG,IAAI,CAcd"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
import { getLogger } from "./telemetry/logging.js";
|
|
3
|
-
// Module-scoped require for resolving sibling dependencies by absolute path.
|
|
4
|
-
// `createRequire` works under both the Node runtime and the Vitest module
|
|
5
|
-
// runner, unlike top-level `import.meta.resolve`.
|
|
6
|
-
const sdkRequire = createRequire(import.meta.url);
|
|
7
|
-
const logger = getLogger();
|
|
8
|
-
/**
|
|
9
|
-
* Vite alias mapping the React 19-only `react/compiler-runtime` specifier to
|
|
10
|
-
* the React-team `react-compiler-runtime` shim, which is API-compatible on
|
|
11
|
-
* React 17/18. Shared by the live-edit dev server and the production build so
|
|
12
|
-
* that user code (or a dependency) emitting `react/compiler-runtime` imports
|
|
13
|
-
* resolves against our React 18.3.1 runtime instead of crashing Vite
|
|
14
|
-
* resolution with `Missing "./compiler-runtime" specifier in "react" package`
|
|
15
|
-
* (APPS-2887).
|
|
16
|
-
*
|
|
17
|
-
* The exact-match string `find` fires only for `react/compiler-runtime`, never
|
|
18
|
-
* `react`, `react/jsx-runtime`, or `react-dom`.
|
|
19
|
-
*
|
|
20
|
-
* Returns `null` (and logs) if the shim package cannot be resolved — e.g. a
|
|
21
|
-
* corrupted or partial SDK install. Skipping the alias keeps the dev server /
|
|
22
|
-
* build starting for every other app instead of throwing synchronously inside
|
|
23
|
-
* `createServer()`/`build()` and permanently rejecting `vitePromise`, which
|
|
24
|
-
* would reproduce the very infinite-spinner symptom this fix removes. Only an
|
|
25
|
-
* app that actually imports `react/compiler-runtime` would then hit the
|
|
26
|
-
* original (now clearly-logged) resolution error.
|
|
27
|
-
*/
|
|
28
|
-
export function reactCompilerRuntimeAlias(
|
|
29
|
-
// Resolver seam: defaults to the real module resolution; overridable in tests.
|
|
30
|
-
resolve = (id) => sdkRequire.resolve(id)) {
|
|
31
|
-
let replacement;
|
|
32
|
-
try {
|
|
33
|
-
replacement = resolve("react-compiler-runtime");
|
|
34
|
-
}
|
|
35
|
-
catch {
|
|
36
|
-
logger.warn("[APPS-2887] Could not resolve the 'react-compiler-runtime' shim; " +
|
|
37
|
-
"skipping the react/compiler-runtime alias. Reinstall the SDK " +
|
|
38
|
-
"dependencies if an app needs it (apps that do not import " +
|
|
39
|
-
"react/compiler-runtime are unaffected).");
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
return { find: "react/compiler-runtime", replacement };
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=react-compiler-runtime-shim.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-compiler-runtime-shim.mjs","sourceRoot":"","sources":["../src/react-compiler-runtime-shim.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAI5C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,6EAA6E;AAC7E,0EAA0E;AAC1E,kDAAkD;AAClD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;AAE3B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,yBAAyB;AACvC,+EAA+E;AAC/E,UAAkC,CAAC,EAAE,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;IAEhE,IAAI,WAAmB,CAAC;IACxB,IAAI,CAAC;QACH,WAAW,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAClD,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,CAAC,IAAI,CACT,mEAAmE;YACjE,+DAA+D;YAC/D,2DAA2D;YAC3D,yCAAyC,CAC5C,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,CAAC;AACzD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-compiler-runtime-shim.test.d.mts","sourceRoot":"","sources":["../src/react-compiler-runtime-shim.test.mts"],"names":[],"mappings":""}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { existsSync } from "node:fs";
|
|
2
|
-
import { isAbsolute } from "node:path";
|
|
3
|
-
import { describe, expect, it } from "vitest";
|
|
4
|
-
import { reactCompilerRuntimeAlias } from "./react-compiler-runtime-shim.mjs";
|
|
5
|
-
describe("reactCompilerRuntimeAlias", () => {
|
|
6
|
-
it("maps react/compiler-runtime to an existing absolute shim path", () => {
|
|
7
|
-
const alias = reactCompilerRuntimeAlias();
|
|
8
|
-
expect(alias).not.toBeNull();
|
|
9
|
-
expect(alias.find).toBe("react/compiler-runtime");
|
|
10
|
-
expect(typeof alias.replacement).toBe("string");
|
|
11
|
-
expect(isAbsolute(alias.replacement)).toBe(true);
|
|
12
|
-
expect(existsSync(alias.replacement)).toBe(true);
|
|
13
|
-
});
|
|
14
|
-
it("returns null instead of throwing when the shim cannot be resolved", () => {
|
|
15
|
-
// Simulate a corrupted/partial install where the shim package is absent.
|
|
16
|
-
// The dev server must keep starting (no permanently-rejected vitePromise).
|
|
17
|
-
const alias = reactCompilerRuntimeAlias(() => {
|
|
18
|
-
throw new Error("Cannot find module 'react-compiler-runtime'");
|
|
19
|
-
});
|
|
20
|
-
expect(alias).toBeNull();
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
//# sourceMappingURL=react-compiler-runtime-shim.test.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-compiler-runtime-shim.test.mjs","sourceRoot":"","sources":["../src/react-compiler-runtime-shim.test.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACzC,EAAE,CAAC,+DAA+D,EAAE,GAAG,EAAE;QACvE,MAAM,KAAK,GAAG,yBAAyB,EAAE,CAAC;QAC1C,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,MAAM,CAAC,KAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QACnD,MAAM,CAAC,OAAO,KAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACjD,MAAM,CAAC,UAAU,CAAC,KAAM,CAAC,WAAqB,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5D,MAAM,CAAC,UAAU,CAAC,KAAM,CAAC,WAAqB,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mEAAmE,EAAE,GAAG,EAAE;QAC3E,yEAAyE;QACzE,2EAA2E;QAC3E,MAAM,KAAK,GAAG,yBAAyB,CAAC,GAAG,EAAE;YAC3C,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;QACjE,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { existsSync } from "node:fs";
|
|
2
|
-
import { isAbsolute } from "node:path";
|
|
3
|
-
|
|
4
|
-
import { describe, expect, it } from "vitest";
|
|
5
|
-
|
|
6
|
-
import { buildResolveConfig } from "./dev-server.mjs";
|
|
7
|
-
|
|
8
|
-
describe("buildResolveConfig", () => {
|
|
9
|
-
it("aliases react/compiler-runtime to an existing shim file", () => {
|
|
10
|
-
const config = buildResolveConfig();
|
|
11
|
-
const aliases = config?.alias as unknown as Array<{
|
|
12
|
-
find: string;
|
|
13
|
-
replacement: string;
|
|
14
|
-
}>;
|
|
15
|
-
|
|
16
|
-
const entry = aliases.find((a) => a.find === "react/compiler-runtime");
|
|
17
|
-
expect(entry).toBeDefined();
|
|
18
|
-
expect(isAbsolute(entry!.replacement)).toBe(true);
|
|
19
|
-
expect(existsSync(entry!.replacement)).toBe(true);
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it("does not alias bare react or react/jsx-runtime", () => {
|
|
23
|
-
const aliases = buildResolveConfig()?.alias as unknown as Array<{
|
|
24
|
-
find: string;
|
|
25
|
-
}>;
|
|
26
|
-
expect(aliases.some((a) => a.find === "react")).toBe(false);
|
|
27
|
-
expect(aliases.some((a) => a.find === "react/jsx-runtime")).toBe(false);
|
|
28
|
-
});
|
|
29
|
-
});
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
|
|
3
|
-
import type { Alias } from "vite";
|
|
4
|
-
|
|
5
|
-
import { getLogger } from "./telemetry/logging.js";
|
|
6
|
-
|
|
7
|
-
// Module-scoped require for resolving sibling dependencies by absolute path.
|
|
8
|
-
// `createRequire` works under both the Node runtime and the Vitest module
|
|
9
|
-
// runner, unlike top-level `import.meta.resolve`.
|
|
10
|
-
const sdkRequire = createRequire(import.meta.url);
|
|
11
|
-
const logger = getLogger();
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Vite alias mapping the React 19-only `react/compiler-runtime` specifier to
|
|
15
|
-
* the React-team `react-compiler-runtime` shim, which is API-compatible on
|
|
16
|
-
* React 17/18. Shared by the live-edit dev server and the production build so
|
|
17
|
-
* that user code (or a dependency) emitting `react/compiler-runtime` imports
|
|
18
|
-
* resolves against our React 18.3.1 runtime instead of crashing Vite
|
|
19
|
-
* resolution with `Missing "./compiler-runtime" specifier in "react" package`
|
|
20
|
-
* (APPS-2887).
|
|
21
|
-
*
|
|
22
|
-
* The exact-match string `find` fires only for `react/compiler-runtime`, never
|
|
23
|
-
* `react`, `react/jsx-runtime`, or `react-dom`.
|
|
24
|
-
*
|
|
25
|
-
* Returns `null` (and logs) if the shim package cannot be resolved — e.g. a
|
|
26
|
-
* corrupted or partial SDK install. Skipping the alias keeps the dev server /
|
|
27
|
-
* build starting for every other app instead of throwing synchronously inside
|
|
28
|
-
* `createServer()`/`build()` and permanently rejecting `vitePromise`, which
|
|
29
|
-
* would reproduce the very infinite-spinner symptom this fix removes. Only an
|
|
30
|
-
* app that actually imports `react/compiler-runtime` would then hit the
|
|
31
|
-
* original (now clearly-logged) resolution error.
|
|
32
|
-
*/
|
|
33
|
-
export function reactCompilerRuntimeAlias(
|
|
34
|
-
// Resolver seam: defaults to the real module resolution; overridable in tests.
|
|
35
|
-
resolve: (id: string) => string = (id) => sdkRequire.resolve(id),
|
|
36
|
-
): Alias | null {
|
|
37
|
-
let replacement: string;
|
|
38
|
-
try {
|
|
39
|
-
replacement = resolve("react-compiler-runtime");
|
|
40
|
-
} catch {
|
|
41
|
-
logger.warn(
|
|
42
|
-
"[APPS-2887] Could not resolve the 'react-compiler-runtime' shim; " +
|
|
43
|
-
"skipping the react/compiler-runtime alias. Reinstall the SDK " +
|
|
44
|
-
"dependencies if an app needs it (apps that do not import " +
|
|
45
|
-
"react/compiler-runtime are unaffected).",
|
|
46
|
-
);
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return { find: "react/compiler-runtime", replacement };
|
|
50
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { existsSync } from "node:fs";
|
|
2
|
-
import { isAbsolute } from "node:path";
|
|
3
|
-
|
|
4
|
-
import { describe, expect, it } from "vitest";
|
|
5
|
-
|
|
6
|
-
import { reactCompilerRuntimeAlias } from "./react-compiler-runtime-shim.mjs";
|
|
7
|
-
|
|
8
|
-
describe("reactCompilerRuntimeAlias", () => {
|
|
9
|
-
it("maps react/compiler-runtime to an existing absolute shim path", () => {
|
|
10
|
-
const alias = reactCompilerRuntimeAlias();
|
|
11
|
-
expect(alias).not.toBeNull();
|
|
12
|
-
expect(alias!.find).toBe("react/compiler-runtime");
|
|
13
|
-
expect(typeof alias!.replacement).toBe("string");
|
|
14
|
-
expect(isAbsolute(alias!.replacement as string)).toBe(true);
|
|
15
|
-
expect(existsSync(alias!.replacement as string)).toBe(true);
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it("returns null instead of throwing when the shim cannot be resolved", () => {
|
|
19
|
-
// Simulate a corrupted/partial install where the shim package is absent.
|
|
20
|
-
// The dev server must keep starting (no permanently-rejected vitePromise).
|
|
21
|
-
const alias = reactCompilerRuntimeAlias(() => {
|
|
22
|
-
throw new Error("Cannot find module 'react-compiler-runtime'");
|
|
23
|
-
});
|
|
24
|
-
expect(alias).toBeNull();
|
|
25
|
-
});
|
|
26
|
-
});
|