diff --git a/packages/core/src/compiler/compositionScoping.ts b/packages/core/src/compiler/compositionScoping.ts index ab64dc8f1e..f463fefca0 100644 --- a/packages/core/src/compiler/compositionScoping.ts +++ b/packages/core/src/compiler/compositionScoping.ts @@ -276,10 +276,6 @@ function jsonScriptLiteral(value: unknown): string { return JSON.stringify(value).replace(/`, which cannot sit inside the - * classic wrapper: its bare `__hyperframes` becomes the composition's own, as in a classic script. - */ export function scopedModulePrelude( timelineCompositionId: string, compositionSrc?: string | null, diff --git a/packages/core/src/compiler/externalScripts.ts b/packages/core/src/compiler/externalScripts.ts index 3d4dccfa64..3b440ba6cf 100644 --- a/packages/core/src/compiler/externalScripts.ts +++ b/packages/core/src/compiler/externalScripts.ts @@ -1,7 +1,6 @@ export interface ExternalScriptAttributes { integrity?: string; crossorigin?: string; - /** Kept so a module never gets folded into a classic script or emitted as one. */ type?: "module"; }