实用代码 vscode扩展的实用程序 第一配置 转到package.json并合并 ... " scripts " : { ... " compile " : " ... && npm run prepare:utils " , ... " prepare:utils " : " bash -c \" ./src/utils/scripts/prepare-utils.sh \" $PWD \" \" $PWD/PATH_FOR_UTILS \"\" " } ... 节点依赖性 npm install fs-extra @types/fs-extra npm