mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-16 08:12:37 +00:00
Exclude mathjax a11y files from ESBuild
`MathJax/extensions/a11y/mathmaps` contains .js files that are not actually valid JavaScript, tripping up ESBuild. This excludes them from the minification step Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
0c8ac678a3
commit
d159241f0f
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ module.exports = [
|
|||
optimization: {
|
||||
minimizer: [
|
||||
new ESBuildMinifyPlugin({
|
||||
target: 'es2015'
|
||||
target: 'es2015',
|
||||
exclude: ['MathJax/extensions/a11y/mathmaps']
|
||||
})
|
||||
],
|
||||
splitChunks: {
|
||||
|
|
Loading…
Reference in a new issue