mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-14 04:32:21 +00:00
parent
0c524c7c8f
commit
a2fd80954b
7 changed files with 52 additions and 15 deletions
dev/build
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue