@coderline/alphatab 1.3.0-alpha.997 → 1.3.1
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.
- package/README.md +2 -2
- package/dist/alphaTab.core.min.mjs +1 -1
- package/dist/alphaTab.core.mjs +22 -3
- package/dist/alphaTab.d.ts +8 -0
- package/dist/alphaTab.js +24 -5
- package/dist/alphaTab.min.js +1 -1
- package/dist/alphaTab.min.mjs +1 -1
- package/dist/alphaTab.mjs +3 -3
- package/dist/alphaTab.vite.d.ts +36 -0
- package/dist/alphaTab.vite.js +2065 -0
- package/dist/alphaTab.vite.mjs +2044 -0
- package/dist/alphaTab.webpack.d.ts +24 -5
- package/dist/alphaTab.webpack.js +424 -225
- package/dist/alphaTab.webpack.mjs +423 -224
- package/dist/alphaTab.worker.mjs +1 -1
- package/dist/alphaTab.worklet.mjs +1 -1
- package/package.json +11 -2
- package/dist/alphaTab.core.min.mjs.map +0 -1
- package/dist/alphaTab.core.mjs.map +0 -1
- package/dist/alphaTab.js.map +0 -1
- package/dist/alphaTab.min.js.map +0 -1
- package/dist/alphaTab.min.mjs.map +0 -1
- package/dist/alphaTab.mjs.map +0 -1
- package/dist/alphaTab.webpack.js.map +0 -1
- package/dist/alphaTab.webpack.mjs.map +0 -1
- package/dist/alphaTab.worker.min.mjs.map +0 -1
- package/dist/alphaTab.worker.mjs.map +0 -1
- package/dist/alphaTab.worklet.min.mjs.map +0 -1
- package/dist/alphaTab.worklet.mjs.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import * as webpackTypes from 'webpack';
|
|
2
3
|
|
|
3
4
|
/**@target web */
|
|
4
5
|
interface AlphaTabWebPackPluginOptions {
|
|
@@ -29,13 +30,31 @@ interface AlphaTabWebPackPluginOptions {
|
|
|
29
30
|
webWorkers?: boolean;
|
|
30
31
|
}
|
|
31
32
|
|
|
33
|
+
/**@target web */
|
|
34
|
+
|
|
35
|
+
type webPackWithAlphaTab = {
|
|
36
|
+
webpack: webpackTypes.Compiler['webpack'];
|
|
37
|
+
alphaTab: {
|
|
38
|
+
registerWebWorkerRuntimeModule(pluginName: string, compilation: webpackTypes.Compilation): void;
|
|
39
|
+
WebWorkerRuntimeModuleKey: string;
|
|
40
|
+
createWebWorkerDependency(request: string, range: [number, number], publicPath: string | undefined): webpackTypes.dependencies.ModuleDependency;
|
|
41
|
+
registerWebWorkerDependency(compilation: webpackTypes.Compilation, normalModuleFactory: NormalModuleFactory): void;
|
|
42
|
+
registerWorkletRuntimeModule(pluginName: string, compilation: webpackTypes.Compilation): void;
|
|
43
|
+
RuntimeGlobalWorkletGetStartupChunks: string;
|
|
44
|
+
createWorkletDependency(request: string, range: [number, number], publicPath: string | undefined): webpackTypes.dependencies.ModuleDependency;
|
|
45
|
+
registerWorkletDependency(compilation: webpackTypes.Compilation, normalModuleFactory: NormalModuleFactory): void;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type NormalModuleFactory = webpackTypes.Compilation['params']['normalModuleFactory'];
|
|
49
|
+
|
|
32
50
|
declare class AlphaTabWebPackPlugin {
|
|
51
|
+
_webPackWithAlphaTab: webPackWithAlphaTab;
|
|
33
52
|
options: AlphaTabWebPackPluginOptions;
|
|
34
53
|
constructor(options?: AlphaTabWebPackPluginOptions);
|
|
35
|
-
apply(compiler:
|
|
36
|
-
configureSoundFont(compiler:
|
|
37
|
-
configure(compiler:
|
|
38
|
-
configureAssetCopy(pluginName: string, compiler:
|
|
54
|
+
apply(compiler: webpackTypes.Compiler): void;
|
|
55
|
+
configureSoundFont(compiler: webpackTypes.Compiler): void;
|
|
56
|
+
configure(compiler: webpackTypes.Compiler): void;
|
|
57
|
+
configureAssetCopy(webPackWithAlphaTab: webPackWithAlphaTab, pluginName: string, compiler: webpackTypes.Compiler, compilation: webpackTypes.Compilation): void;
|
|
39
58
|
}
|
|
40
59
|
|
|
41
60
|
export { AlphaTabWebPackPlugin };
|