We're not using critical CSS (maybe some day) and want the CSS to be loaded synchronously, but for some reason setting the 2nd argument to false does not work:
{{ craft.vite.script("src/js/app.ts", false) }}
There is about 2 second FOUC every time I navigate to a new page, which is really annoying for one, but also completely destroys all (the possibility to test) view-transitions.
For now, I resigned to including the CSS in a style tag before including the JS (in local environment only)
Question
We're not using critical CSS (maybe some day) and want the CSS to be loaded synchronously, but for some reason setting the 2nd argument to false does not work:
There is about 2 second FOUC every time I navigate to a new page, which is really annoying for one, but also completely destroys all (the possibility to test) view-transitions. For now, I resigned to including the CSS in a style tag before including the JS (in local environment only)
Any thoughts?