Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

How to set file names for chunk bundles

Open
#1,013 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
build-system

Research direction

Start by reproducing the reported microbundle --format=esm output and trace how chunk filenames are selected during the build. Determine whether a fixed naming option can be specified without collisions, then verify that generated chunk files no longer receive random suffixes. The issue does not name a source file or test, so the relevant build entry point must be located first.

Written by the indexing model from the issue text.

Description

Feature Request

Chunk file is suffixed with random string. Is it possible to set fixed file name for chunk files?

> microbundle --format=esm

Build "foo" to dist:
         67 B: foo.esm.js.gz
         51 B: foo.esm.js.br
      12.3 kB: index-5d50c813.js.gz
      10.9 kB: index-5d50c813.js.br
      26.4 kB: core-9b3f477a.js.gz
      23.3 kB: core-9b3f477a.js.br
Dominant language
JavaScript
Stars
8.1k
Forks
358
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developit/microbundle

All issues in developit/microbundle

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.