Skip to content

Commit 2dbc7b9

Browse files
committed
refactor(@angular-devkit/build-angular): remove unused plugin from server polyfills
RxJs is not imported in the server polyfills and thus we can safely remove this plugin.
1 parent 12acab8 commit 2dbc7b9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ export function createServerPolyfillBundleOptions(
282282
return;
283283
}
284284

285-
const { workspaceRoot } = options;
286285
const buildOptions: BuildOptions = {
287286
...polyfillBundleOptions,
288287
platform: 'node',
@@ -307,9 +306,6 @@ export function createServerPolyfillBundleOptions(
307306
},
308307
};
309308

310-
buildOptions.plugins ??= [];
311-
buildOptions.plugins.push(createRxjsEsmResolutionPlugin());
312-
313309
return () => buildOptions;
314310
}
315311

0 commit comments

Comments
 (0)