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

fix configurations for production build

Yuki Takei 3 лет назад
Родитель
Сommit
e6e5b48cde

+ 0 - 1
apps/app/tsconfig.build.client.json

@@ -2,7 +2,6 @@
   "$schema": "http://json.schemastore.org/tsconfig",
   "extends": "./tsconfig.base.json",
   "compilerOptions": {
-    "module": "esnext",
     "strict": false,
     "noFallthroughCasesInSwitch": true,
     "baseUrl": ".",

+ 1 - 0
apps/app/tsconfig.build.next.config.json

@@ -2,6 +2,7 @@
   "$schema": "http://json.schemastore.org/tsconfig",
   "extends": "../../tsconfig.base.json",
   "compilerOptions": {
+    "module": "CommonJS",
     "noResolve": false,
     "preserveConstEnums": true,
     "sourceMap": false,

+ 1 - 0
apps/app/tsconfig.build.server.json

@@ -2,6 +2,7 @@
   "$schema": "http://json.schemastore.org/tsconfig",
   "extends": "./tsconfig.base.json",
   "compilerOptions": {
+    "module": "CommonJS",
     "outDir": "transpiled",
     "declaration": true,
     "noResolve": false,

+ 0 - 1
apps/app/tsconfig.json

@@ -2,7 +2,6 @@
   "$schema": "http://json.schemastore.org/tsconfig",
   "extends": "./tsconfig.base.json",
   "compilerOptions": {
-    "module": "commonjs",
     "baseUrl": ".",
     "paths": {
       "~/*": ["./src/*"],

+ 2 - 2
turbo.json

@@ -1,8 +1,8 @@
 {
   "$schema": "https://turbo.build/schema.json",
   "pipeline": {
-    "@growi/remark-lsx#build": {
-      "dependsOn": ["@growi/ui#build"],
+    "@growi/app#build": {
+      "dependsOn": ["^build"],
       "outputs": ["dist/**", "types/**"]
     },
     "build": {