From ff5e8f56dd4b20b3f3862c682bc43350b3955386 Mon Sep 17 00:00:00 2001 From: Nicholas Cunningham Date: Wed, 26 Apr 2023 10:05:33 -0600 Subject: [PATCH] fix(node): Propagate --bundler when passed via CNW --- packages/workspace/src/generators/preset/preset.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/workspace/src/generators/preset/preset.ts b/packages/workspace/src/generators/preset/preset.ts index 6efb367d48543..8de1ca853732d 100644 --- a/packages/workspace/src/generators/preset/preset.ts +++ b/packages/workspace/src/generators/preset/preset.ts @@ -151,6 +151,7 @@ async function createPreset(tree: Tree, options: Schema) { const { applicationGenerator: nodeApplicationGenerator } = require('@nx' + '/node'); return nodeApplicationGenerator(tree, { + bundler: options.bundler, name: options.name, linter: options.linter, standaloneConfig: options.standaloneConfig,