Просмотр исходного кода

fix configurations for production build

Yuki Takei 3 лет назад
Родитель
Сommit
bcd4502e69
2 измененных файлов с 6 добавлено и 1 удалено
  1. 1 0
      apps/slackbot-proxy/tsconfig.build.json
  2. 5 1
      turbo.json

+ 1 - 0
apps/slackbot-proxy/tsconfig.build.json

@@ -1,6 +1,7 @@
 {
   "extends": "./tsconfig.base.json",
   "compilerOptions": {
+    "module": "CommonJS",
     "rootDir": "./src",
     "outDir": "dist",
     "declaration": true,

+ 5 - 1
turbo.json

@@ -3,7 +3,11 @@
   "pipeline": {
     "@growi/app#build": {
       "dependsOn": ["^build"],
-      "outputs": ["dist/**", "types/**"]
+      "outputs": [".next/**", "config/**", "dist/**"]
+    },
+    "@growi/slackbot-proxy#build": {
+      "dependsOn": ["@growi/slack#build"],
+      "outputs": ["dist/**"]
     },
     "build": {
       "outputs": ["dist/**", "types/**"],