Skip to content

Conversation

@intellix
Copy link
Contributor

@intellix intellix commented Nov 13, 2025

What is it?

  • Bug

Description

Removed doubling of assetsDir during bundle close when delivering staticPaths list: #8151

All info in the linked issue but I'll repeat a little how this is broken.

Vite config:

build: {
  assetsDir: 'q',
},

Now if you look at the list of generated staticPaths, you'll see these:

  • /q/robots.txt
  • /q/q/build/abc-123.js
  • /q/q/build/def-456.js

Checklist

  • My code follows the developer guidelines of this project
  • I performed a self-review of my own code
  • I added a changeset with pnpm change
  • I made corresponding changes to the Qwik docs
  • I added new tests to cover the fix / functionality

@intellix intellix requested a review from a team as a code owner November 13, 2025 12:55
@changeset-bot
Copy link

changeset-bot bot commented Nov 13, 2025

🦋 Changeset detected

Latest commit: 9299762

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@builder.io/qwik-city Minor
eslint-plugin-qwik Minor
@builder.io/qwik Minor
create-qwik Minor
@builder.io/qwik-react Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@intellix intellix force-pushed the v1-assets-dir-static-files branch from e6b92df to 9299762 Compare November 13, 2025 12:55
@github-actions
Copy link
Contributor

github-actions bot commented Nov 13, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 9299762

const { staticPathsCode, notFoundPathsCode } = await postBuild(
clientOutDir,
assetsDir ? join(api.getBasePathname(), assetsDir) : api.getBasePathname(),
api.getBasePathname(),
Copy link
Member

Choose a reason for hiding this comment

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

@thejackshelton thoughts? Does Astro need this?

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 13, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@builder.io/qwik@8152
npm i https://pkg.pr.new/@builder.io/qwik-city@8152
npm i https://pkg.pr.new/eslint-plugin-qwik@8152
npm i https://pkg.pr.new/create-qwik@8152

commit: 9299762

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.

2 participants