mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 04:36:15 -08:00
19 lines
401 B
TypeScript
19 lines
401 B
TypeScript
import css from './style.less?inline'
|
|
import svg from './icon.svg?raw'
|
|
import InlineWorker from './worker.ts?worker&inline'
|
|
import { add } from './shared.js'
|
|
|
|
interface Options {
|
|
label?: string
|
|
}
|
|
|
|
export default function buildProbe(options: Options = {}) {
|
|
return {
|
|
label: options.label ?? 'default',
|
|
value: add(20, 22),
|
|
css,
|
|
svg,
|
|
createWorker: () => new InlineWorker(),
|
|
}
|
|
}
|