Ver Fonte

ci: 脚本

shuisheng há 2 anos atrás
pai
commit
8605550735
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 2 2
      deploy/static-build.sh
  2. 1 1
      tsconfig.json

+ 2 - 2
deploy/static-build.sh

@@ -6,7 +6,7 @@
 # Email: 2274751790@qq.com
 # FilePath: /billd-live/deploy/static-build.sh
 # Github: https://github.com/galaxy-s10
-# LastEditTime: 2024-01-25 10:38:11
+# LastEditTime: 2024-01-25 10:39:21
 # LastEditors: shuisheng
 ###
 
@@ -25,7 +25,7 @@ TAG=$5          #约定$5为git标签
 PUBLICDIR=/node #约定公共目录为/node
 
 echo 当前目录:
-echo pwd
+pwd
 
 echo 删除node_modules:
 rm -rf node_modules

+ 1 - 1
tsconfig.json

@@ -47,7 +47,7 @@
   // ts-node的时候会读取这里的配置
   "ts-node": {
     "compilerOptions": {
-      "module": "ESNext" // 指定生成什么模块代码。
+      "module": "CommonJS" // 指定生成什么模块代码。
     },
     "transpileOnly": true // 只编译,报警告或者错误一样运行
   }