@angular/compiler-cli
Advanced tools
Comparing version 4.0.0-rc.3 to 4.0.0-rc.4
{ | ||
"name": "@angular/compiler-cli", | ||
"version": "4.0.0-rc.3", | ||
"version": "4.0.0-rc.4", | ||
"description": "Angular - the compiler CLI for Node.js", | ||
@@ -18,4 +18,4 @@ "main": "index.js", | ||
"typescript": "^2.0.2", | ||
"@angular/compiler": "4.0.0-rc.3", | ||
"@angular/core": "4.0.0-rc.3" | ||
"@angular/compiler": "4.0.0-rc.4", | ||
"@angular/core": "4.0.0-rc.4" | ||
}, | ||
@@ -22,0 +22,0 @@ "repository": { |
@@ -36,3 +36,3 @@ /** | ||
var source = GENERATED_META_FILES.test(emitPath) ? generatedModule.source : | ||
PREAMBLE + generatedModule.source; | ||
generatedModule.source; | ||
_this.host.writeFile(emitPath, source, false, function () { }, [sourceFile]); | ||
@@ -63,2 +63,3 @@ }); | ||
enableLegacyTemplate: options.enableLegacyTemplate !== false, | ||
genFilePreamble: PREAMBLE, | ||
}).compiler; | ||
@@ -65,0 +66,0 @@ return new CodeGenerator(options, program, tsCompilerHost, aotCompiler, ngCompilerHost); |
@@ -196,2 +196,6 @@ /** | ||
var metadataOrMetadatas = JSON.parse(this.context.readFile(filePath)); | ||
while (metadataOrMetadatas && metadataOrMetadatas.alias) { | ||
filePath = path.join(path.dirname(filePath), metadataOrMetadatas.alias); | ||
metadataOrMetadatas = JSON.parse(this.context.readFile(filePath)); | ||
} | ||
var metadatas_1 = metadataOrMetadatas ? | ||
@@ -198,0 +202,0 @@ (Array.isArray(metadataOrMetadatas) ? metadataOrMetadatas : [metadataOrMetadatas]) : |
@@ -18,3 +18,3 @@ /** | ||
*/ | ||
exports.VERSION = new core_1.Version('4.0.0-rc.3'); | ||
exports.VERSION = new core_1.Version('4.0.0-rc.4'); | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138886
1322