refactor: move yarn-spinner-loader to external dependency

This commit is contained in:
2026-04-14 16:35:18 +08:00
parent c110bb08b5
commit 163aa8c783
16 changed files with 45 additions and 2786 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
import {createEffect, createResource } from "solid-js";
import type {OptionsResult, RuntimeResult} from "../../yarn-spinner/runtime/results";
import {compile, parseYarn, YarnRunner} from "../../yarn-spinner";
import type {OptionsResult, RuntimeResult} from "yarn-spinner-loader";
import {compile, parseYarn, YarnRunner, RunnerOptions} from "yarn-spinner-loader";
import {loadElementSrc, resolvePath} from "../utils/path";
import {createStore} from "solid-js/store";
import {RunnerOptions} from "../../yarn-spinner/runtime/runner";
import {getTtrpgFunctions} from "./ttrpgRunner";
import { getIndexedData } from "../../data-loader/file-index";