mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Depenencies: Updated NPM packages
Avoided updating markdown-it package to 14 for now since it would cause bundle size to inflate. Don't think ESBuild is properly tree shaking "entities" sub package which inflates size.
This commit is contained in:
@ -25,11 +25,11 @@ esbuild.build({
|
||||
entryPoints,
|
||||
outdir,
|
||||
sourcemap: true,
|
||||
target: 'es2020',
|
||||
target: 'es2021',
|
||||
mainFields: ['module', 'main'],
|
||||
format: 'esm',
|
||||
minify: isProd,
|
||||
logLevel: "info",
|
||||
logLevel: 'info',
|
||||
}).then(result => {
|
||||
fs.writeFileSync('esbuild-meta.json', JSON.stringify(result.metafile));
|
||||
}).catch(() => process.exit(1));
|
||||
}).catch(() => process.exit(1));
|
||||
|
Reference in New Issue
Block a user