refactor: move yarn-spinner-loader to external dependency
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { customElement, noShadowDOM } from 'solid-element';
|
||||
import { For, Show, createEffect } from 'solid-js';
|
||||
import type {TextResult, RuntimeResult, OptionsResult} from '../yarn-spinner/runtime/results';
|
||||
import type {TextResult, RuntimeResult, OptionsResult} from 'yarn-spinner-loader';
|
||||
import { createYarnStore } from './stores/yarnStore';
|
||||
|
||||
export interface YarnSpinnerProps {
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user