feat: 通过metadata加载插件,降低内存占用

This commit is contained in:
xiaojunnuo
2025-12-30 18:32:00 +08:00
parent cabc4da3ac
commit 7634f153b7
163 changed files with 257 additions and 158 deletions

View File

@@ -23,7 +23,7 @@
"lint": "mwts check",
"lint:fix": "mwts fix",
"ci": "npm run cov",
"build": "cross-env NODE_ENV=production mwtsc --cleanOutDir --skipLibCheck",
"build": "cross-env NODE_ENV=production mwtsc --cleanOutDir --skipLibCheck && npm run export-metadata && npm run export-md",
"export-metadata": "node export-plugin-yaml.js",
"export-md": "node export-plugin-md.js",
"dev-build": "echo 1",