diff --git a/generators/app/__snapshots__/generator.spec.ts.snap b/generators/app/__snapshots__/generator.spec.ts.snap index cf80b21fe3c0..09603e610f11 100644 --- a/generators/app/__snapshots__/generator.spec.ts.snap +++ b/generators/app/__snapshots__/generator.spec.ts.snap @@ -260,7 +260,7 @@ exports[`generator - app with default config should match snapshot 1`] = ` "clientBundler": "webpack", "clientBundlerAny": true, "clientBundlerExperimentalEsbuild": false, - "clientBundlerName": "angular-cli", + "clientBundlerName": "Webpack", "clientBundlerVite": false, "clientBundlerWebpack": true, "clientDistDir": "target/classes/static/", @@ -932,7 +932,7 @@ exports[`generator - app with gateway should match snapshot 1`] = ` "clientBundler": "webpack", "clientBundlerAny": true, "clientBundlerExperimentalEsbuild": false, - "clientBundlerName": "angular-cli", + "clientBundlerName": "Webpack", "clientBundlerVite": false, "clientBundlerWebpack": true, "clientDistDir": "target/classes/static/", diff --git a/generators/client/generator.ts b/generators/client/generator.ts index f9f78f4f165e..1eec9c2af8a9 100644 --- a/generators/client/generator.ts +++ b/generators/client/generator.ts @@ -140,7 +140,7 @@ export default class JHipsterClientGenerator extends BaseApplicationGenerator { return this.asPreparingTaskGroup({ preparing({ applicationDefaults }) { applicationDefaults({ - clientBundlerName: ctx => (ctx.clientFrameworkAngular ? 'angular-cli' : startCase(ctx.clientBundler)), + clientBundlerName: ctx => (ctx.clientBundlerExperimentalEsbuild ? 'esbuild' : startCase(ctx.clientBundler)), clientTestFramework: ctx => (ctx.clientFrameworkVue ? 'vitest' : 'jest'), clientTestFrameworkName: ctx => startCase(ctx.clientTestFramework), });