Skip to content

Commit 0578dd2

Browse files
committed
Make sure mhchem files are copied during the compile script
1 parent 2fa8ec7 commit 0578dd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"types": "./mathjax3/mathjax.d.ts",
1010
"scripts": {
1111
"make-components": "cd components && bin/makeAll src",
12-
"compile": "npx tsc",
13-
"prepublishOnly": "npx tsc"
12+
"compile": "npx tsc && cp mathjax3-ts/input/tex/mhchem/mhchem_parser.* mathjax3/input/tex/mhchem/",
13+
"prepublishOnly": "npx tsc && cp mathjax3-ts/input/tex/mhchem/mhchem_parser.* mathjax3/input/tex/mhchem/"
1414
},
1515
"dependencies": {
1616
"mj-context-menu": "^0.2.0",

0 commit comments

Comments
 (0)