diff options
author | David Mehren | 2019-10-25 21:49:30 +0200 |
---|---|---|
committer | David Mehren | 2019-10-25 21:50:48 +0200 |
commit | 88b855beb21a4bc96ed9bb421de315395e9f04d8 (patch) | |
tree | 7374279f1d97b9909e99a57915b2ec7b8db6f5ad /webpack.common.js | |
parent | 20a67e3446723231961043bffeb5a7b974e891c0 (diff) |
Fix compatibility with MathJax 2.7.6
Signed-off-by: David Mehren <dmehren1@gmail.com>
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index ee8e9e80..0aae309d 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -131,7 +131,7 @@ module.exports = { }), new CopyWebpackPlugin([ { - context: path.join(__dirname, 'node_modules/mathjax'), + context: path.join(__dirname, 'node_modules/mathjax/unpacked'), from: { glob: '**/*', dot: false @@ -139,6 +139,14 @@ module.exports = { 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: { glob: 'dist/**/*', |