@coderline/alphatab 1.2.3 → 1.3.0-alpha.1005

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alphaTab.mjs","sources":["../../src/alphaTab.main.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAIA;AACI;AACJ;AAAO;AACH;AACJ;;AACI;AAEQ;AACI;;;;sEAQuE,oBAAA;;;AAI3E;AACI;;AAMJ;;;;;;;;;;AASJ;AAGI;AACI;;;;AAQH;AACA,wDAA6D,qBAAA;;;AAI9D;AACJ;AAER"}
@@ -0,0 +1,38 @@
1
+ import { Plugin } from 'vite';
2
+
3
+ /**@target web */
4
+ interface AlphaTabVitePluginOptions {
5
+ /**
6
+ * The location where alphaTab can be found.
7
+ * (default: node_modules/@coderline/alphatab/dist)
8
+ */
9
+ alphaTabSourceDir?: string;
10
+ /**
11
+ * The location where assets of alphaTab should be placed.
12
+ * Set it to false to disable the copying of assets like fonts.
13
+ * (default: compiler.options.output.path)
14
+ */
15
+ assetOutputDir?: string | false;
16
+ /**
17
+ * Whether alphaTab should configure the audio worklet support in Vite.
18
+ * This might break support for audio playback unless audio worklet support is added
19
+ * through other means to Vite.
20
+ * (default: true)
21
+ */
22
+ audioWorklets?: boolean;
23
+ /**
24
+ * Whether alphaTab should configure the web worklet support in Vite.
25
+ * This might break support for audio playback and background unless audio worklet support is added
26
+ * through other means to Vite.
27
+ * (default: true)
28
+ */
29
+ webWorkers?: boolean;
30
+ }
31
+
32
+ /**@target web */
33
+
34
+ declare function alphaTab(options?: AlphaTabVitePluginOptions): Plugin<any>[];
35
+
36
+ /**@target web */
37
+
38
+ export { alphaTab, alphaTab as default };