diff --git a/components/mjs/node-main/node-main.js b/components/mjs/node-main/node-main.js index a0ca4cfad..8ebdaea86 100644 --- a/components/mjs/node-main/node-main.js +++ b/components/mjs/node-main/node-main.js @@ -34,9 +34,11 @@ const dir = global.MathJax.config.__dirname; // set up by node-main.mjs or nod * Set up the initial configuration */ combineDefaults(MathJax.config, 'loader', { + paths: {'mathjax-modern': 'mathjax-modern-font'}, require: eval("(file) => import(file)"), // use dynamic imports failed: (err) => {throw err} // pass on error message to init()'s catch function }); +combineDefaults(MathJax.config, 'output', {font: 'mathjax-modern'}); /* * Mark the preloaded components