Fix compatibility with MathJax 2.7.6

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren
2019-10-25 21:49:30 +02:00
parent 20a67e3446
commit 88b855beb2
2 changed files with 10 additions and 2 deletions

View File

@@ -131,13 +131,21 @@ module.exports = {
}),
new CopyWebpackPlugin([
{
context: path.join(__dirname, 'node_modules/mathjax'),
context: path.join(__dirname, 'node_modules/mathjax/unpacked'),
from: {
glob: '**/*',
dot: false
},
to: 'MathJax/'
},
{
context: path.join(__dirname, 'node_modules/mathjax/fonts'),
from: {
glob: '**/*',
dot: false
},
to: 'fonts/'
},
{
context: path.join(__dirname, 'node_modules/emojify.js'),
from: {