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

feat: Preserve comments in compiled files

Michael Bromley 5 лет назад
Родитель
Сommit
2061828873

+ 1 - 1
packages/admin-ui-plugin/tsconfig.json

@@ -2,7 +2,7 @@
   "extends": "../../tsconfig.json",
   "compilerOptions": {
     "declaration": true,
-    "removeComments": true,
+    "removeComments": false,
     "noLib": false,
     "skipLibCheck": true,
     "sourceMap": true

+ 1 - 1
packages/asset-server-plugin/tsconfig.json

@@ -2,7 +2,7 @@
   "extends": "../../tsconfig.json",
   "compilerOptions": {
     "declaration": true,
-    "removeComments": true,
+    "removeComments": false,
     "noLib": false,
     "skipLibCheck": true,
     "sourceMap": true

+ 1 - 1
packages/common/tsconfig.json

@@ -2,7 +2,7 @@
   "extends": "../../tsconfig.json",
   "compilerOptions": {
     "declaration": true,
-    "removeComments": true,
+    "removeComments": false,
     "noLib": false,
     "skipLibCheck": true,
     "sourceMap": true

+ 1 - 1
packages/create/tsconfig.json

@@ -2,7 +2,7 @@
   "extends": "../../tsconfig.json",
   "compilerOptions": {
     "declaration": true,
-    "removeComments": true,
+    "removeComments": false,
     "noLib": false,
     "skipLibCheck": true,
     "sourceMap": true

+ 1 - 1
packages/elasticsearch-plugin/tsconfig.json

@@ -2,7 +2,7 @@
   "extends": "../../tsconfig.json",
   "compilerOptions": {
     "declaration": true,
-    "removeComments": true,
+    "removeComments": false,
     "noLib": false,
     "skipLibCheck": true,
     "sourceMap": true

+ 1 - 1
packages/email-plugin/tsconfig.json

@@ -2,7 +2,7 @@
   "extends": "../../tsconfig.json",
   "compilerOptions": {
     "declaration": true,
-    "removeComments": true,
+    "removeComments": false,
     "noLib": false,
     "skipLibCheck": true,
     "sourceMap": true

+ 1 - 1
packages/testing/tsconfig.json

@@ -2,7 +2,7 @@
   "extends": "../../tsconfig.json",
   "compilerOptions": {
     "declaration": true,
-    "removeComments": true,
+    "removeComments": false,
     "noLib": false,
     "skipLibCheck": true,
     "sourceMap": true

+ 1 - 0
packages/ui-devkit/tsconfig.compiler.json

@@ -3,6 +3,7 @@
   "compilerOptions": {
     "baseUrl": "./",
     "outDir": "./compiler",
+    "removeComments": false,
     "sourceMap": true,
     "module": "commonjs",
     "declaration": true,

+ 1 - 0
packages/ui-devkit/tsconfig.json

@@ -3,6 +3,7 @@
   "compilerOptions": {
     "baseUrl": "./",
     "importHelpers": true,
+    "removeComments": false,
     "outDir": "./client",
     "sourceMap": true,
     "declaration": true,