In my project (AdonisJS 6 + Vite) I have the situation that the resource URLs have to be output as absolute URLs. The resources are integrated into the HTML using @vite(['resources/css/app.css', 'resources/js/app.js']). But all my attempts have failed, the CSS and JS files are always, at least in development mode, only integrated as relative and not absolute URLs.
My use case is, that I have an edge Template which I use to generate a PDF file. In the PDF file the URLs have to be absolute URLs, thats why my resource URLs have to be outputted as absolute URLs.
Package version
3.0.0
Describe the bug
In my project (AdonisJS 6 + Vite) I have the situation that the resource URLs have to be output as absolute URLs. The resources are integrated into the HTML using
@vite(['resources/css/app.css', 'resources/js/app.js'])
. But all my attempts have failed, the CSS and JS files are always, at least in development mode, only integrated as relative and not absolute URLs.My use case is, that I have an edge Template which I use to generate a PDF file. In the PDF file the URLs have to be absolute URLs, thats why my resource URLs have to be outputted as absolute URLs.
Reproduction repo
No response