nodebb-plugin-katex2 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-katex2",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "KaTeX math rendering plugin for NodeBB",
5
5
  "main": "lib/index.js",
6
6
  "repository": {
package/plugin.json CHANGED
@@ -11,8 +11,7 @@
11
11
  }
12
12
  ],
13
13
  "scripts": ["static/js/render.js"],
14
- "stylesheets": ["static/css/katex.css"],
15
14
  "staticDirs": {
16
- "katex": "./static/katex"
15
+ "katex": "node_modules/katex/dist"
17
16
  }
18
17
  }
@@ -120,7 +120,7 @@
120
120
  // const basePath = "/plugins/nodebb-plugin-katex/node_modules/katex/dist/";
121
121
  // Находим правильный путь
122
122
  // Путь к файлам через modules
123
- const basePath = "/assets/plugins/nodebb-plugin-katex/katex/";
123
+ const basePath = "/assets/plugins/nodebb-plugin-katex2/katex/";
124
124
 
125
125
  // Параллельная загрузка всех файлов
126
126
  await Promise.all([