Skip to content

Commit 7e38022

Browse files
authored
chore: Release preparations (#2060)
1 parent 692a6f0 commit 7e38022

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

LICENSE.header

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@ Integrated Libraries:
4242
License: BSD-3-Clause
4343
Copyright: Copyright (c) 2002-2020 Xiph.org Foundation
4444
URL: https://github.com/xiph/vorbis
45-
Purpose: NVorbis adopted some code from libvorbis.
45+
Purpose: NVorbis adopted some code from libvorbis.
46+
47+
@preserve
48+
@license

vite.config.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ export default defineConfig(({ command, mode }) => {
104104
const commonOutput: Partial<OutputOptions> = {
105105
globals: {
106106
jQuery: 'jQuery'
107+
},
108+
// ugly workaround for https://github.com/rollup/rollup/issues/5946
109+
intro(chunk) {
110+
if(chunk.isEntry) {
111+
return "if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}"
112+
}
113+
return '';
107114
}
108115
};
109116

@@ -112,8 +119,9 @@ export default defineConfig(({ command, mode }) => {
112119
plugins: [
113120
license({
114121
banner: {
122+
commentStyle: 'ignored',
115123
content: {
116-
file: 'LICENSE.header'
124+
file: 'LICENSE.header',
117125
},
118126
data() {
119127
let buildNumber = process.env.GITHUB_RUN_NUMBER || 0;
@@ -297,7 +305,7 @@ export default defineConfig(({ command, mode }) => {
297305
esm('alphaTab.webpack', 'src/alphaTab.webpack.ts', webpackOptions, false);
298306
break;
299307
case 'umd':
300-
umd('alphaTab', 'src/alphaTab.main.ts', {});
308+
umd('alphaTab', 'src/alphaTab.main.ts', {}, false, true);
301309
break;
302310
default:
303311
case 'esm':

0 commit comments

Comments
 (0)