MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / licenseHeaderPlugin

Function licenseHeaderPlugin

packages/tooling/src/vite.ts:46–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46export function licenseHeaderPlugin() {
47 return license({
48 banner: {
49 commentStyle: 'ignored',
50 content: {
51 file: 'LICENSE.header'
52 },
53 data() {
54 const buildNumber = process.env.GITHUB_RUN_NUMBER || 0;
55 const gitBranch = getGitBranch();
56 return {
57 branch: gitBranch,
58 build: buildNumber
59 };
60 }
61 }
62 });
63}
64
65export function defineEsmAndCommonJsConfig(entry: string) {
66 return defineConfig(({ mode }) => {

Callers 1

defaultBuildUserConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected