feat(ivy): ngcc - implement UmdDependencyHost (#25445)
The dependency resolution that works out the order in which to process entry-points must also understand UMD formats. PR Close #25445
This commit is contained in:

committed by
Jason Aden

parent
c613596658
commit
edd775eabc
@ -22,8 +22,8 @@ describe('findEntryPoints()', () => {
|
||||
let finder: EntryPointFinder;
|
||||
beforeEach(() => {
|
||||
const fs = createMockFileSystem();
|
||||
resolver =
|
||||
new DependencyResolver(new MockLogger(), new EsmDependencyHost(fs, new ModuleResolver(fs)));
|
||||
resolver = new DependencyResolver(
|
||||
new MockLogger(), {esm2015: new EsmDependencyHost(fs, new ModuleResolver(fs))});
|
||||
spyOn(resolver, 'sortEntryPointsByDependency').and.callFake((entryPoints: EntryPoint[]) => {
|
||||
return {entryPoints, ignoredEntryPoints: [], ignoredDependencies: []};
|
||||
});
|
||||
|
Reference in New Issue
Block a user