Install all katex-expression files since it's not self-contained.

This commit is contained in:
Danila Fedorin 2023-11-30 06:16:30 +00:00
parent a462008844
commit 0724cfe43c

View File

@ -21,7 +21,7 @@ in
mkdir -p $out $out/katex $out/katex-expression $out/bergamot mkdir -p $out $out/katex $out/katex-expression $out/bergamot
cp ${yarnModules}/node_modules/katex/dist/katex.min.css $out/katex cp ${yarnModules}/node_modules/katex/dist/katex.min.css $out/katex
cp -r ${yarnModules}/node_modules/katex/dist/fonts $out/katex cp -r ${yarnModules}/node_modules/katex/dist/fonts $out/katex
cp ${yarnModules}/node_modules/@navsnpm/katex-expression/dist/katex-expression/katex-expression.esm.js $out/katex-expression cp ${yarnModules}/node_modules/@navsnpm/katex-expression/dist/katex-expression/* $out/katex-expression
cp ${bergamot-elm}/Main.min.js $out/bergamot/bergamot.js cp ${bergamot-elm}/Main.min.js $out/bergamot/bergamot.js
''; '';
} }