Skip to content
Permalink
Browse files

Fix compatibility with MathJax 2.7.6

Signed-off-by: David Mehren <dmehren1@gmail.com>
  • Loading branch information...
davidmehren committed Oct 25, 2019
1 parent 20a67e3 commit 88b855beb21a4bc96ed9bb421de315395e9f04d8
Showing with 10 additions and 2 deletions.
  1. +1 −1 package.json
  2. +9 −1 webpack.common.js
@@ -79,7 +79,7 @@
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"markdown-pdf": "^10.0.0",
"mathjax": "~2.7.0",
"mathjax": "~2.7.6",
"mattermost": "^3.4.0",
"mermaid": "~8.2.3",
"meta-marked": "git+https://github.com/codimd/meta-marked#semver:^0.4.5",
@@ -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: {

0 comments on commit 88b855b

Please sign in to comment.
You can’t perform that action at this time.