Open gregmagolan opened 6 years ago
@chuckjaz does this look like the source map problem you've been resolving?
No but it looks like a compiler bug in that we shouldn't be emitting a file without a valid name. Can you a related bug in angular/angular?
Also I wonder why we don't see this problem internally.
@alexeagle internally we use inline sourcemaps.
Turning on sourceMap in
src/tsconfig.json
results in an exception during closure compile:I tracked this down to coming from an invalid entry in the
sources
array inbuilt/src/basic.ngfactory.js.map
:The value "../../" in
sources
ends up creating a null or empty fileName value in the SourceFile ctor which throws the exception. This seems to have been introduced with 5.0.0-rc.0. Could not reproduce with 5.0.0-beta.7. The same "../../" entry is inbasic.ngfactory.js.map
with 5.0.0-beta.7 but the mappings must be different as the same closure compiler does not throw an exception.