mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	chore(build): separate tsconfig for public
This commit is contained in:
		
							parent
							
								
									483b543272
								
							
						
					
					
						commit
						9e661ed684
					
				
							
								
								
									
										27
									
								
								src/public/tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								src/public/tsconfig.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | |||||||
|  | { | ||||||
|  | 	"compilerOptions": { | ||||||
|  | 		"module": "NodeNext", | ||||||
|  | 		"declaration": false, | ||||||
|  | 		"sourceMap": true, | ||||||
|  | 		"outDir": "./build", | ||||||
|  | 		"strict": true, | ||||||
|  | 		"noImplicitAny": true, | ||||||
|  | 		"resolveJsonModule": true, | ||||||
|  | 		"lib": [ | ||||||
|  | 			"ES2022" | ||||||
|  | 		], | ||||||
|  | 		"downlevelIteration": true, | ||||||
|  | 		"skipLibCheck": true, | ||||||
|  | 		"esModuleInterop": true, | ||||||
|  | 		"allowJs": true | ||||||
|  | 	}, | ||||||
|  | 	"include": [ | ||||||
|  |         "**/*",		 | ||||||
|  | 	], | ||||||
|  | 	"exclude": [ | ||||||
|  | 		"./app-dist", | ||||||
|  | 	], | ||||||
|  | 	"files": [ | ||||||
|  | 		"./app/types.d.ts" | ||||||
|  | 	] | ||||||
|  | } | ||||||
| @ -1,28 +1,31 @@ | |||||||
| { | { | ||||||
| 	"compilerOptions": { | 	"compilerOptions": { | ||||||
| 	  "module": "NodeNext", | 		"module": "NodeNext", | ||||||
| 	  "declaration": false, | 		"declaration": false, | ||||||
| 	  "sourceMap": true, | 		"sourceMap": true, | ||||||
| 	  "outDir": "./build", | 		"outDir": "./build", | ||||||
| 	  "strict": true, | 		"strict": true, | ||||||
| 	  "noImplicitAny": true, | 		"noImplicitAny": true, | ||||||
| 	  "resolveJsonModule": true, | 		"resolveJsonModule": true, | ||||||
| 	  "lib": ["ES2022"], | 		"lib": [ | ||||||
| 	  "downlevelIteration": true, | 			"ES2022" | ||||||
| 	  "skipLibCheck": true, | 		], | ||||||
| 	  "esModuleInterop": true, | 		"downlevelIteration": true, | ||||||
| 	  "allowJs": true | 		"skipLibCheck": true, | ||||||
|  | 		"esModuleInterop": true, | ||||||
| 	}, | 	}, | ||||||
| 	"include": [ | 	"include": [ | ||||||
|     "./src/**/*.js", | 		"./src/**/*.js", | ||||||
| 	"./src/**/*.ts", | 		"./src/**/*.ts", | ||||||
|     "./*.ts", | 		"./*.ts", | ||||||
|     "./spec/**/*.ts", | 		"./spec/**/*.ts", | ||||||
|     "./spec-es6/**/*.ts" | 		"./spec-es6/**/*.ts" | ||||||
|  | 	], | ||||||
|  | 	"exclude": [ | ||||||
|  | 		"./src/public/**/*", | ||||||
|  | 		"./node_modules/**/*" | ||||||
| 	], | 	], | ||||||
| 	"exclude": ["./node_modules/**/*"], |  | ||||||
| 	"files": [ | 	"files": [ | ||||||
| 		"src/types.d.ts", | 		"src/types.d.ts" | ||||||
| 		"src/public/app/types.d.ts" |  | ||||||
| 	] | 	] | ||||||
| } | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran