Skip to content

[🐞]Specify the vite.config.ts output content, the packaged code has problems #7336

@AllenIverson1122

Description

@AllenIverson1122

Which component is affected?

Qwik Rollup / Vite plugin

Describe the bug

Image

Browser refresh the picture path is like this

Image

This is the picture of the route jump.

Image

Another problem is that I modified the output path after the budget, but there is still a js path that has not changed. It seems that there is no place to modify this path.

Reproduction

https://stackblitz.com/edit/github-wh6cb5cs?file=vite.config.ts,src%2Froutes%2Findex.tsx,src%2Froutes%2Fdemo%2Fflower%2Findex.tsx,package.json,.eslintrc.cjs

Steps to reproduce

run npm build
run node server/entry.express

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions