// Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html // Expose the Svelte runtime bundled with Anki, so that add-ons can require() it. // If they were to bundle their own runtime, things like bindings and contexts // would not work. import * as svelteRuntime from "svelte/internal"; import * as svelteStore from "svelte/store"; import { registerPackageRaw } from "../lib/runtime-require"; registerPackageRaw("svelte/internal", svelteRuntime); registerPackageRaw("svelte/store", svelteStore);