refactor(build): fix build location of compiler-cli esm module (#13212)

This commit is contained in:
Chuck Jazdzewski 2016-12-02 15:19:52 -08:00 committed by Alex Rickabaugh
parent d46b8deeea
commit 6cf7a1bf84
2 changed files with 3 additions and 2 deletions

View File

@ -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"],

View File

@ -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);