Skip to content

Commit aef4957

Browse files
committed
{fix} update imports of angular private API
We should really find a non-private way to do this...
1 parent c77b6e1 commit aef4957

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/js/experimental-builder/builder.min.mjs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/experimental-builder/builder.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ async function getBuildModule() {
1717

1818
try {
1919
// @ts-expect-error This file only exists if @angular/build is installed
20-
return await import('@angular/build/src/builders/application/index.js');
20+
return await import('@angular/build/private');
2121
} catch {}
2222
try {
2323
return await import(
24-
'@angular-devkit/build-angular/node_modules/@angular/build/src/builders/application/index.js'
24+
'@angular-devkit/build-angular/node_modules/@angular/build/src/private.js'
2525
);
2626
} catch {}
2727

0 commit comments

Comments
 (0)