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,
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../../dist/packages-dist/esm/compiler-cli",
|
||||
"outDir": "../../../dist/esm/compiler-cli",
|
||||
"paths": {
|
||||
"@angular/core": ["../../../dist/packages-dist/core"],
|
||||
"@angular/common": ["../../../dist/packages-dist/common"],
|
||||
|
|
|
@ -16,9 +16,10 @@ var esm = 'esm/';
|
|||
|
||||
var locations = {
|
||||
'tsc-wrapped': normalize('../../../dist/tools/@angular') + '/',
|
||||
'compiler-cli': normalize('../../../dist/esm') + '/'
|
||||
};
|
||||
|
||||
var esm_suffixes = {'compiler-cli': esm};
|
||||
var esm_suffixes = {};
|
||||
|
||||
function normalize(fileName) {
|
||||
return path.resolve(__dirname, fileName);
|
||||
|
|
Loading…
Reference in New Issue