Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 681f669

Browse files
committed
test: fix ngtools/webpack local-bootstrap resolution
1 parent e0c2d20 commit 681f669

File tree

1 file changed

+1
-1
lines changed
  • packages/angular_devkit/build_webpack/src/angular-cli-files/models/webpack-configs

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_webpack/src/angular-cli-files/models/webpack-configs/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const SilentError = require('silent-error');
1616

1717
const g: any = typeof global !== 'undefined' ? global : {};
1818
const webpackLoader: string = g['_DevKitIsLocal']
19-
? require('lib/packages').packages['@ngtool/webpack'].main
19+
? require.resolve('@ngtools/webpack')
2020
: '@ngtools/webpack';
2121

2222

0 commit comments

Comments
 (0)