mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-26 15:41:49 +00:00 
			
		
		
		
	chore: move declarationMap tsconfig setting to base and client configs
This commit is contained in:
		
							parent
							
								
									5344c4a866
								
							
						
					
					
						commit
						eb0cebb965
					
				| @ -5,6 +5,6 @@ | |||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|     "rootDir": "./src", |     "rootDir": "./src", | ||||||
|     "outDir": "./build", |     "outDir": "./build", | ||||||
|     "declarationMap": true, | 
 | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
| @ -3,7 +3,6 @@ | |||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|     "outDir": "dist", |     "outDir": "dist", | ||||||
|     "noEmit": false, |     "noEmit": false, | ||||||
|     "declarationMap": true, |  | ||||||
|   }, |   }, | ||||||
|   "include": ["src"], |   "include": ["src"], | ||||||
|   "exclude": ["node_modules", "**/__tests__/**"] |   "exclude": ["node_modules", "**/__tests__/**"] | ||||||
|  | |||||||
| @ -4,7 +4,6 @@ | |||||||
|     "outDir": "dist", |     "outDir": "dist", | ||||||
|     "noEmit": false, |     "noEmit": false, | ||||||
|     "emitDeclarationOnly": true, |     "emitDeclarationOnly": true, | ||||||
|     "declarationMap": true, |  | ||||||
|   }, |   }, | ||||||
|   "include": ["src"], |   "include": ["src"], | ||||||
|   "exclude": ["node_modules", "**/__tests__/**"] |   "exclude": ["node_modules", "**/__tests__/**"] | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ | |||||||
|   "extends": "tsconfig/base.json", |   "extends": "tsconfig/base.json", | ||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|     "outDir": "dist", |     "outDir": "dist", | ||||||
|     "declarationMap": true, |  | ||||||
|   }, |   }, | ||||||
|   "include": ["src"], |   "include": ["src"], | ||||||
|   "exclude": ["node_modules", "**/__tests__/**"] |   "exclude": ["node_modules", "**/__tests__/**"] | ||||||
|  | |||||||
| @ -3,6 +3,7 @@ | |||||||
|   "extends": "@tsconfig/node18/tsconfig.json", |   "extends": "@tsconfig/node18/tsconfig.json", | ||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|     "declaration": true, |     "declaration": true, | ||||||
|  |     "declarationMap": true, | ||||||
|     "esModuleInterop": true, |     "esModuleInterop": true, | ||||||
|     "sourceMap": true, |     "sourceMap": true, | ||||||
|     "resolveJsonModule": true, |     "resolveJsonModule": true, | ||||||
|  | |||||||
| @ -1,6 +1,7 @@ | |||||||
| { | { | ||||||
|   "$schema": "http://json.schemastore.org/tsconfig", |   "$schema": "http://json.schemastore.org/tsconfig", | ||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|  |     "declarationMap": true, | ||||||
|     "target": "ESNext", |     "target": "ESNext", | ||||||
|     "module": "ESNext", |     "module": "ESNext", | ||||||
|     "moduleResolution": "Bundler", |     "moduleResolution": "Bundler", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Marc-Roig
						Marc-Roig