feat(core): provide support for relative assets for components
Assets defined for `templateUrl` and `styleUrls` can now be loaded in relative to where the component file is placed so long as the `moduleId` is set within the component annotation. Closes #5634
This commit is contained in:
@ -68,8 +68,8 @@ function getSourceTree() {
|
||||
translateBuiltins: true,
|
||||
});
|
||||
// Native sources, dart only examples, etc.
|
||||
var dartSrcs =
|
||||
modulesFunnel(['**/*.dart', '**/*.ng_meta.json', '**/*.aliases.json', '**/css/**']);
|
||||
var dartSrcs = modulesFunnel(
|
||||
['**/*.dart', '**/*.ng_meta.json', '**/*.aliases.json', '**/css/**', '**/*.css']);
|
||||
return mergeTrees([transpiled, dartSrcs]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user