mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
This reverts commit 3b53bfd2f7.
This commit is contained in:
@@ -15,7 +15,6 @@ import {
|
||||
rewriteInlineStyleAssetUrls,
|
||||
type AssetExists,
|
||||
} from "./rewriteSubCompPaths";
|
||||
import { warnUnknownEnumValues } from "../runtime/getVariables";
|
||||
import {
|
||||
scopeCssToComposition,
|
||||
wrapInlineScriptWithErrorBoundary,
|
||||
@@ -273,14 +272,6 @@ export function inlineSubCompositions(
|
||||
if (Object.keys(mergedVariables).length > 0) {
|
||||
variablesByComp[runtimeCompId] = mergedVariables;
|
||||
}
|
||||
// Compile time is the only place this defect is visible on the sub-comp
|
||||
// path: the instance value is baked into `__hfVariablesByComp` right
|
||||
// here, and the scoped `getVariables` shim only reads that table, so the
|
||||
// runtime's identical guard never runs. Same helper, so the message and
|
||||
// the per-process dedupe set are shared with the runtime path and the
|
||||
// author sees one warning either way.
|
||||
warnUnknownEnumValues(compDoc.documentElement, mergedVariables, runtimeCompId);
|
||||
warnUnknownEnumValues(innerRoot, mergedVariables, runtimeCompId);
|
||||
}
|
||||
|
||||
// `<head>` <link>/<script src> are hoisted into the ROOT document, so they
|
||||
|
||||
Reference in New Issue
Block a user