> Attempted to instantiate `%component%` with `new %name%`, which is no longer valid in Svelte 5. If this component is not under your control, set the `legacy.componentApi` compiler option to keep it working. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information
> Attempted to instantiate %component% with `new %name%`, which is no longer valid in Svelte 5. If this component is not under your control, set the `legacy.componentApi` compiler option to keep it working. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information
@ -76,14 +76,14 @@ export function component_api_changed(parent, method, component) {
}
/**
*Attemptedtoinstantiate`%component%`with`new %name%`,whichisnolongervalidinSvelte5.Ifthiscomponentisnotunderyourcontrol,setthe`legacy.componentApi`compileroptiontokeepitworking.Seehttps://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information
*Attemptedtoinstantiate%component%with`new %name%`,whichisnolongervalidinSvelte5.Ifthiscomponentisnotunderyourcontrol,setthe`legacy.componentApi`compileroptiontokeepitworking.Seehttps://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information
consterror=newError(`${"component_api_invalid_new"}\n${`Attempted to instantiate \`${component}\` with \`new ${name}\`, which is no longer valid in Svelte 5. If this component is not under your control, set the \`legacy.componentApi\` compiler option to keep it working. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information`}`);
consterror=newError(`${"component_api_invalid_new"}\n${`Attempted to instantiate ${component} with \`new ${name}\`, which is no longer valid in Svelte 5. If this component is not under your control, set the \`legacy.componentApi\` compiler option to keep it working. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information`}`);