Skip to content

fix(utoopack): shorten production chunk and CSS filenames - #140

Merged
xusd320 merged 4 commits into
mainfrom
zoomdong/client-output-filenames
Sep 18, 2026
Merged

xusd320 merged 4 commits into
mainfrom
zoomdong/client-output-filenames

Conversation

@fireairforce

@fireairforce fireairforce commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

Utoopack production client chunks and styles currently include generated names in their filenames. Use [contenthash:8].js for additional JavaScript chunks and [contenthash:8].css for both entry and async CSS, keeping asset names short by default.

JavaScript entries retain [name].[contenthash:8].js to distinguish pages. Development filenames remain stable. This change adds no public configuration fields; English and Chinese docs describe the defaults.

Validation:

  • npm run check-types
  • npm run lint
  • npm test
  • npm --workspace evjs-docs run build
  • git diff --check
  • Native Utoopack MPA build with two pages and dynamic JS/CSS imports: verified distinct page entries, five hash-only JS chunks, four hash-only CSS files, and valid HTML and lazy asset references.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-18T08:17:46.045228Z ff3515c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ff3515cedc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

mode: "development",
cwd: options.cwd,
flags: options.flags,
bundlerName: options.bundler?.name ?? configuredConfig?.bundler?.name,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the fallback adapter in the configure context

When ev dev uses the normal CLI default—or a programmatic caller supplies only fallbackBundler—the selected adapter is passed through options.fallbackBundler, but this expression reports bundlerName as undefined. Consequently, presets branching on the newly exposed adapter name skip their adapter-specific development defaults even though the fallback adapter is subsequently activated; include the fallback name after the explicit option and configured adapter.

AGENTS.md reference: AGENTS.md:L60-L63

Useful? React with 👍 / 👎.

@fireairforce fireairforce changed the title feat(config): support client JavaScript output filenames feat(config): support client asset output filenames Sep 18, 2026
@fireairforce fireairforce changed the title feat(config): support client asset output filenames fix(utoopack): shorten production chunk and CSS filenames Sep 18, 2026
@xusd320
xusd320 merged commit d2e5d1e into main Sep 18, 2026
1 check passed
@xusd320
xusd320 deleted the zoomdong/client-output-filenames branch September 18, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants