Loading dynamic styles into a bundle creates weird imports in the application head file. When loading the bundle in an external application it causes an import("./index-XXX.js") error on version 5.2.11 everything worked.
How to deal with the error? Or what i have to do to fix it?
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Loading dynamic styles into a bundle creates weird imports in the application head file. When loading the bundle in an external application it causes an
import("./index-XXX.js")
error on version 5.2.11 everything worked.How to deal with the error? Or what i have to do to fix it?
components-ui lib
components-ui js
using lib in app
Reproduction
no rep
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations