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.
This commit is contained in:
Alan Agius 2023-09-13 07:50:40 +00:00 committed by Alan Agius
parent 71424e1c93
commit 7632bafe72

View File

@ -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) {