refactor(build): fix build location of compiler-cli esm module (#13212)
This commit is contained in:
		
							parent
							
								
									d46b8deeea
								
							
						
					
					
						commit
						6cf7a1bf84
					
				| @ -6,7 +6,7 @@ | |||||||
|         "noImplicitAny": true, |         "noImplicitAny": true, | ||||||
|         "module": "es2015", |         "module": "es2015", | ||||||
|         "moduleResolution": "node", |         "moduleResolution": "node", | ||||||
|         "outDir": "../../../dist/packages-dist/esm/compiler-cli", |         "outDir": "../../../dist/esm/compiler-cli", | ||||||
|         "paths": { |         "paths": { | ||||||
|           "@angular/core": ["../../../dist/packages-dist/core"], |           "@angular/core": ["../../../dist/packages-dist/core"], | ||||||
|           "@angular/common": ["../../../dist/packages-dist/common"], |           "@angular/common": ["../../../dist/packages-dist/common"], | ||||||
|  | |||||||
| @ -16,9 +16,10 @@ var esm = 'esm/'; | |||||||
| 
 | 
 | ||||||
| var locations = { | var locations = { | ||||||
|   'tsc-wrapped': normalize('../../../dist/tools/@angular') + '/', |   'tsc-wrapped': normalize('../../../dist/tools/@angular') + '/', | ||||||
|  |   'compiler-cli': normalize('../../../dist/esm') + '/' | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| var esm_suffixes = {'compiler-cli': esm}; | var esm_suffixes = {}; | ||||||
| 
 | 
 | ||||||
| function normalize(fileName) { | function normalize(fileName) { | ||||||
|   return path.resolve(__dirname, fileName); |   return path.resolve(__dirname, fileName); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user