From 47af3a8fd03da101322b69db3ad3096d9f576abf Mon Sep 17 00:00:00 2001 From: dengzixu Date: Tue, 5 Sep 2023 15:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E5=86=99=E5=8F=AF=E6=8F=92=E6=8B=94?= =?UTF-8?q?=E7=9A=84=E5=89=8D=E7=AB=AF=E6=A1=86=E6=9E=B6=E5=B0=8F=E5=86=8C?= =?UTF-8?q?/1-2=20=E7=89=9B=E5=88=80=E5=B0=8F=E8=AF=95-=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E5=B9=B6=E5=8F=91=E5=B8=83=E4=B8=80=E4=B8=AACLI=20tsconfig.jso?= =?UTF-8?q?n=20=E9=85=8D=E7=BD=AE=E8=AF=B4=E6=98=8E=E5=B9=B6=E4=B8=8D?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...345\270\203\344\270\200\344\270\252CLI.md" | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git "a/\346\211\213\345\206\231\345\217\257\346\217\222\346\213\224\345\211\215\347\253\257\346\241\206\346\236\266\345\260\217\345\206\214/1-2.\347\211\233\345\210\200\345\260\217\350\257\225-\345\256\236\347\216\260\345\271\266\345\217\221\345\270\203\344\270\200\344\270\252CLI.md" "b/\346\211\213\345\206\231\345\217\257\346\217\222\346\213\224\345\211\215\347\253\257\346\241\206\346\236\266\345\260\217\345\206\214/1-2.\347\211\233\345\210\200\345\260\217\350\257\225-\345\256\236\347\216\260\345\271\266\345\217\221\345\270\203\344\270\200\344\270\252CLI.md" index c90f8a2..fd3c096 100644 --- "a/\346\211\213\345\206\231\345\217\257\346\217\222\346\213\224\345\211\215\347\253\257\346\241\206\346\236\266\345\260\217\345\206\214/1-2.\347\211\233\345\210\200\345\260\217\350\257\225-\345\256\236\347\216\260\345\271\266\345\217\221\345\270\203\344\270\200\344\270\252CLI.md" +++ "b/\346\211\213\345\206\231\345\217\257\346\217\222\346\213\224\345\211\215\347\253\257\346\241\206\346\236\266\345\260\217\345\206\214/1-2.\347\211\233\345\210\200\345\260\217\350\257\225-\345\256\236\347\216\260\345\271\266\345\217\221\345\270\203\344\270\200\344\270\252CLI.md" @@ -89,20 +89,21 @@ console.log(yang) ```json { - "compilerOptions": { - "target": "es2016", // 编译产物 - "module": "commonjs", - "moduleResolution": "node", // 模块声明 - "baseUrl": "./", - "declaration": true, // 生成 d.ts 文件 - "sourceMap": true, // 开启 sourcemap 方便打断点调试源文件 - "outDir": "dist", // 编译后输出文件夹 - "declarationDir": "dist", - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "skipLibCheck": true - } + "compilerOptions": {//编译选项 + + "target": "es2016", //编译产物 + "module": "commonjs", //模块化标准 + "moduleResolution":"node",//模块声明 + "baseUrl": "./",//设置从中解析非相对模块名称的基目录 + "declaration": true,//生成 d.ts文件 + "sourceMap": true,//开启sourceMap,方便打断点调试源文件 + "outDir": "dist",//打包后输出的文件夹 + "declarationDir": "dist",//生成的 d.ts文件存放目录 + "esModuleInterop": true, //esModule兼容 CommonJS + "forceConsistentCasingInFileNames": true, //强制文件名大小写一致 + "strict": true, //开启严格模式 + "skipLibCheck": true //跳过库检查 + } } ```