Skip to content

feat(bundler): namedChunks for non-hashed chunk filenames in dev #153

Description

@lukekania

Goal

Honor namedChunks: true so dev builds produce stable, human-readable chunk filenames (main.js, chunk-foo.js) rather than the production-style hashed names. Helpful for HTTP-cache debugging and for tooling that reads filenames directly.

Current state

Silently overridden. Production always hashes; dev never hashes. Users have no toggle in between.

Scope

  • crates/cli/src/main.rs: read namedChunks from angular.json and use it to override the per-configuration default for BundleOptions.content_hash.
  • The bundler already supports both modes — this is a wiring change, not a new feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestparity:nice-to-haveDefer to post-1.0 unless someone explicitly needs it.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions