mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Fixing CJS modules and Globals (#920)
* Working CJS modules. * Changing cjs imports to es6.
This commit is contained in:
committed by
Kevin Barabash
parent
c4fed02329
commit
141afa091a
@@ -7,7 +7,6 @@ const katexConfig = {
|
||||
filename: 'katex.js',
|
||||
library: 'katex',
|
||||
libraryTarget: 'umd',
|
||||
libraryExport: 'default',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -26,7 +25,6 @@ const autoRenderConfig = {
|
||||
filename: 'auto-render.js',
|
||||
library: 'renderMathInElement',
|
||||
libraryTarget: 'umd',
|
||||
libraryExport: 'default',
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user