Skip to content

Commit 7632baf

Browse files
committedSep 13, 2023
refactor(@angular-devkit/build-angular): remove deep import of zone.js/node
This is no longer needed as `zone.js` now has proper package exports.
1 parent 71424e1 commit 7632baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/angular_devkit/build_angular/src/tools/esbuild/application-code-bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function createServerCodeBundleOptions(
162162
const polyfills = [`import '@angular/platform-server/init';`];
163163

164164
if (options.polyfills?.includes('zone.js')) {
165-
polyfills.push(`import 'zone.js/fesm2015/zone-node.js';`);
165+
polyfills.push(`import 'zone.js/node';`);
166166
}
167167

168168
if (jit) {

0 commit comments

Comments
 (0)
Please sign in to comment.