Skip to content

Commit

Permalink
refactor(@angular-devkit/build-angular): remove deep import of `zone.…
Browse files Browse the repository at this point in the history
…js/node`

This is no longer needed as `zone.js` now has proper package exports.
  • Loading branch information
alan-agius4 committed Sep 13, 2023
1 parent 71424e1 commit 7632baf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function createServerCodeBundleOptions(
const polyfills = [`import '@angular/platform-server/init';`];

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

if (jit) {
Expand Down

0 comments on commit 7632baf

Please sign in to comment.