Przeglądaj źródła

Add jsdoc-babel plugin

This is to stop jsdoc parsing errors.

More information in this thread:
https://github.com/jsdoc3/jsdoc/issues/555
toby 8 lat temu
rodzic
commit
3fb660d816
2 zmienionych plików z 5 dodań i 1 usunięć
  1. 4 1
      docs/jsdoc.conf.json
  2. 1 0
      package.json

+ 4 - 1
docs/jsdoc.conf.json

@@ -2,7 +2,10 @@
     "tags": {
         "allowUnknownTags": true
     },
-    "plugins": ["plugins/markdown"],
+    "plugins": [
+        "plugins/markdown",
+        "node_modules/jsdoc-babel"
+    ],
     "templates": {
         "systemName": "CyberChef",
         "footer": "",

+ 1 - 0
package.json

@@ -47,6 +47,7 @@
     "html-webpack-plugin": "^2.28.0",
     "imports-loader": "^0.7.1",
     "ink-docstrap": "^1.1.4",
+    "jsdoc-babel": "^0.3.0",
     "less": "^2.7.2",
     "less-loader": "^4.0.2",
     "style-loader": "^0.15.0",