UNPKG

aibandtab

Version:

aibandTab is a music notation and guitar tablature rendering library

37 lines (32 loc) 1.14 kB
import { Plugin } from 'vite'; /**@target web */ interface AibandTabVitePluginOptions { /** * The location where aibandTab can be found. * (default: node_modules/aibandtab/dist) */ aibandTabSourceDir?: string; /** * The location where assets of aibandTab should be placed. * Set it to false to disable the copying of assets like fonts. * (default: compiler.options.output.path) */ assetOutputDir?: string | false; /** * Whether aibandTab should configure the audio worklet support in Vite. * This might break support for audio playback unless audio worklet support is added * through other means to Vite. * (default: true) */ audioWorklets?: boolean; /** * Whether aibandTab should configure the web worklet support in Vite. * This might break support for audio playback and background unless audio worklet support is added * through other means to Vite. * (default: true) */ webWorkers?: boolean; } /**@target web */ declare function aibandTab(options?: AibandTabVitePluginOptions): Plugin<any>[]; export { aibandTab };