@coderline/alphatab
Version:
alphaTab is a music notation and guitar tablature rendering library
35 lines (31 loc) • 1.18 kB
TypeScript
import { Plugin as Plugin_2 } from 'vite';
export declare function alphaTab(options?: AlphaTabVitePluginOptions): Plugin_2<any>[];
/**@target web */
declare interface AlphaTabVitePluginOptions {
/**
* The location where alphaTab can be found.
* (default: node_modules/@coderline/alphatab/dist)
*/
alphaTabSourceDir?: string;
/**
* The location where assets of alphaTab should be placed.
* Set it to false to disable the copying of assets like fonts.
* (default: compiler.options.output.path)
*/
assetOutputDir?: string | false;
/**
* Whether alphaTab 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 alphaTab 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;
}
export { }