Skip to content

Compared with the earlier version, the chunk-xxx.js file is added after the "builder": "@angular-devkit/build-angular:browser-esbuild" configuration is used. Why? Can chunk files not be generated, or can chunk file names be specified? #26377

@fengnian7

Description

@fengnian7

Command

build

Description

After the Angular is upgraded to version 16, the builder @angular-devkit/build-angular:browser-esbuild is used, Compared with the earlier version, the chunk-xxx.js file is added after the "builder": "@angular-devkit/build-angular:browser-esbuild" configuration is used. Why? Can chunk files not be generated, or can chunk file names be specified?

Describe the solution you'd like

In some scenarios, compilation files need to be dynamically obtained. Currently, a chunk is added and its name is not fixed. Therefore, static files cannot be matched. So I hope chunk-xxx.js is not generated or the file name can be customized.

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions