Yuki Takei 3 лет назад
Родитель
Сommit
2c65c9d858
4 измененных файлов с 0 добавлено и 26 удалено
  1. 0 2
      apps/app/.eslintignore
  2. 0 4
      apps/app/.gitignore
  3. 0 1
      apps/app/package.json
  4. 0 19
      apps/app/tsconfig.build.next.config.json

+ 0 - 2
apps/app/.eslintignore

@@ -2,10 +2,8 @@
 /dist/**
 /transpiled/**
 /public/**
-/config/next-i18next.config.js
 /src/client/legacy/thirdparty-js/**
 /src/client/util/reveal/plugins/markdown.js
 /src/linter-checker/**
-/src/utils/next.config.utils.js
 /tmp/**
 /next-env.d.ts

+ 0 - 4
apps/app/.gitignore

@@ -16,7 +16,3 @@ test/cypress/videos
 /public/uploads
 /src/styles/prebuilt
 /tmp/
-
-# transpiled configuration files for production build
-/config/next-i18next.config.js
-/src/utils/next.config.utils.js

+ 0 - 1
apps/app/package.json

@@ -7,7 +7,6 @@
     "build": "run-p build:*",
     "start": "yarn next start",
     "build:client": "yarn next build",
-    "prebuild:client": "tsc -p tsconfig.build.next.config.json",
     "build:server": "yarn cross-env NODE_ENV=production tsc -p tsconfig.build.server.json && tsc-alias -p tsconfig.build.server-tsc-alias.json",
     "postbuild:server": "npx -y shx echo \"Listing files under transpiled\" && npx -y shx ls transpiled && npx -y shx mv transpiled/src dist && npx -y shx cp -r transpiled/config/* config && npx -y shx rm -rf transpiled",
     "clean": "npx -y shx rm -rf dist transpiled",

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

@@ -1,19 +0,0 @@
-{
-  "$schema": "http://json.schemastore.org/tsconfig",
-  "extends": "../../tsconfig.base.json",
-  "compilerOptions": {
-    "module": "CommonJS",
-    "noResolve": false,
-    "preserveConstEnums": true,
-    "sourceMap": false,
-    "noEmit": false,
-    "paths": {
-      "~/*": ["./src/*"],
-      "^/*": ["./*"]
-    }
-  },
-  "files": [
-    "config/next-i18next.config.ts",
-    "src/utils/next.config.utils.ts"
-  ]
-}