mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-28 22:15:12 -04: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: {
|
optimization: {
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new ESBuildMinifyPlugin({
|
new ESBuildMinifyPlugin({
|
||||||
target: 'es2015'
|
target: 'es2015',
|
||||||
|
exclude: ['MathJax/extensions/a11y/mathmaps']
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue