0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-14 04:32:21 +00:00

Licensing: Added links and tests for new licenses endpoint

For 
This commit is contained in:
Dan Brown 2024-03-23 22:04:18 +00:00
parent 0c524c7c8f
commit a2fd80954b
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
7 changed files with 52 additions and 15 deletions
dev/build

View file

@ -30,6 +30,10 @@ esbuild.build({
format: 'esm',
minify: isProd,
logLevel: 'info',
banner: {
js: '// See the "/licenses" URI for full package license details',
css: '/* See the "/licenses" URI for full package license details */',
},
}).then(result => {
fs.writeFileSync('esbuild-meta.json', JSON.stringify(result.metafile));
}).catch(() => process.exit(1));