Skip to content

after build newly uploaded images are not show on production on vite4 and vue 3 #108

@Koki81

Description

@Koki81

Related plugins

Describe the bug

I try by doc. on vite to get dynamic images from DB. On production, if I have an image from a user in the assets folder and I build its shows, but if I upload a new image it does not show and it does not bundle the image in the module

Reproduction

https://stackblitz.com/edit/vitejs-vite-tch6mk?file=src/App.vue

Steps to reproduce

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (4) x64 Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
    Memory: 7.89 GB / 15.96 GB
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.5.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.46)

Used Package Manager

npm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions